On Tue, 05 Dec 2006 02:34:36 +0100, Hisham Muhammad <[EMAIL PROTECTED]>  
wrote:

> On 12/4/06, Jonas Karlsson <[EMAIL PROTECTED]> wrote:
>> I just _successfully_ upgraded glibc using InstallPackage. After trying
>> and failed manually so many times this was really simple! Finally! :)
>
> Hooray!
>
>> Though...
>> To compile apps after having upgraded glibc I also had to upgrade gcc  
>> and
>> binutils. Is it possible to make some sort of test to ensure that (if
>> those are installed)  they are compiled against the "right" version of
>> glibc?
>
> What kind of errors did you get? I upgraded my box up to Glibc 2.5 and
> didn't have to upgrade GCC or Binutils (I was already using GCC 4
> though).
>
I updated from Glibc 2.3.2 to 2.4 and configure produced the following  
(after i have updated gcc):

checking for a BSD-compatible install... /System/Links/Executables/install  
-c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C  
compiler cannot create executables
See `config.log' for more details.
PrepareProgram: configure failed.
Compile: Preparation step failed.

I was already using gcc 4.1.1, I just reinstalled it from repository to  
have the version linked against my new glibc, but that was before I got  
the message. I don't even think I tried to compile anything before I  
updated gcc.

The mentioned error went away when I installed the binutils package.

-- 
/Jonas

PS. Right, it's glibc 2.5 that's the latest and greatest. I forgot that.
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
gobolinux-devel mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to