LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-25-2005, 10:17 AM   #1
j@ckrabbit
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Rep: Reputation: 0
Which Compiler to use?


I am working on building a Debian based hosting server by compiling manually and have been compiling the needed software including such server daemons as Apache2, Proftp, Courier, Postfix and VHCS.

There seems to be many choices for compiler versions on Debian ; for example:

ftp.us.debian.org/debian/pool/main/g/gcc-3.3/

is the default compilers on 'Debian Sarge' but:

ftp.us.debian.org/debian/pool/main/g/gcc-4.0/

is also available and is more recent. There are also options available for:

ftp.us.debian.org/debian/pool/main/g/gcc-3.4/
ftp.us.debian.org/debian/pool/main/g/gcc-2.96/
ftp.us.debian.org/debian/pool/main/g/gcc-3.0/

Are any of these a preferred set of compiler versions used when building a system? Is it a good idea to use the most recent gcc (4.0)?? or safer to stay on version 3 ???
 
Old 10-25-2005, 12:49 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
I would stay away from 2.96. It's too old and it's known to have a lot of problems. 3.4 is great. Use that one. 4.0 is quite new and some applications simply won't compile with it without tweaks. MPLayer is one of them.

Though, why are you trying to build from source? I mean, all the above is available through apt-get and are very new and stable. Besides, you would save a lot of space by installing compilers and dependencies to build them, since once they are created, you most likely won't use them. You don't have to answer this, I was just curious
 
Old 10-25-2005, 01:48 PM   #3
j@ckrabbit
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
I just switched over to debian a few months ago and I have been using apt-get so far but I haven't really gotten the hang of the "voodoo magic" behind it. One minute I am trying to install a crypto library and then before I know what has happened the server suddenly has LDAP and a print server installed.

There also seems to be some strange interdependance between mysql and mailx such that removing exim with apt-get also removes mysql. Very frustrating. + I would also like an Apache built to specifications instead of with everything.

Even 'apt-get gcc' yields unexpted results for me ( which is the reason this thread came about in the first place). using apt-get I have ended up with both gcc_4%3a3.3.5-3_i386.deb and gcc_4%3a4.0.1-3_i386.deb in my apt-get .deb cache where I would have expected gcc-3.3_3.3.5-13_i386.deb or gcc-4.0_4.0.2-2_i386.deb.

Any idea what those % signs mean in a downloaded .deb package ???

Last edited by j@ckrabbit; 10-25-2005 at 01:50 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
C++ IDE+Compiler?Java IDE+compiler? Boby Linux - Software 3 05-31-2005 01:12 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 05:32 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration