LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error - GCC (https://www.linuxquestions.org/questions/linux-software-2/error-gcc-175833/)

rapidmaniac 04-29-2004 02:34 AM

Error - GCC
 
Hello everyone,

I'm quite new to linux therefore please bear with me. While compiling GCC i encountered an error. I cannot install glibc as my gcc is not up2date, hence my installing of the gcc.

Quote:

real:/gcc-3.3# ./configure
Configuring for a i686-pc-linux-gnulibc1 host.
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava
(Any other directories should still work fine.)
Created "Makefile" in /gcc-3.3 using "mt-frag"
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Can anyone help me?

hw-tph 04-29-2004 02:52 AM

What distribution do you use? You should be able to just grab the gcc and other development packages from the installation CD's or from the distribution site (FTP server or whatever). Oh, and libcrt1.o is usually part of the glibc development package.


Håkan

rapidmaniac 04-29-2004 07:09 AM

Correct but, the gcc version is not updated and is not accepted by glibc. I use debian.

rapidmaniac 04-29-2004 07:22 AM

Someone told me not to compile it from source/update version as it will break many programs. Guess i'm stuck here.

hw-tph 04-29-2004 07:26 AM

What gcc version do you need? If you do an apt-cache search gcc-3 you should probably see that you have access to at least a 3.0.x release of gcc if you run Woody/stable. If you run Sarge/testing you will probably be able to grab 3.2 or 3.3.


Håkan

laceupboots 04-29-2004 10:53 AM

Maybe you can find the answer at this link:
http://search.rpmseek.com/search.html

Just type in gcc and Debs extention in the drop down box and it should give you what you are looking for.

hw-tph 04-29-2004 06:15 PM

With all due respect, http://packages.debian.org does an excellent job for Debian packages. :)


Håkan


All times are GMT -5. The time now is 11:50 PM.