Weird test-results from gcc-3.4.4

Randy McMurchy randy at
Tue Aug 23 19:18:59 PDT 2005

D.Dreschers wrote these words on 08/23/05 20:17 CST:

> in order to avoid rebuilding my complete system is it
> possible to build solely the objc,f77 and ada compiler
> and install them in /usr/local without damaging the
> c and c++ compiler in /usr ?

What do you mean "damaging"? What version of GCC do you currently
have installed?

BTW - If I remember correctly, you cannot build objc, f77 or ada
without building the c compiler.

To answer your question, though, I'm not sure of the internals
of GCC to know how it looks for its support libraries. That is
why I asked what version you currently have installed. Here is
something I noticed from a setup in /opt:

rml at rmlinux: /opt/gcc-3.4.4/bin > ldd gnat =>  (0xffffe000) => /usr/lib/ (0xb7ee1000) => /lib/ (0xb7dc0000)
        /lib/ (0xb7efc000)

Notice that it references stuff in /usr/lib even though it seems
it should be looking at the one in /opt (realizing this issue is
due to the ld library cache):

rml at rmlinux: /opt/gcc-3.4.4 > find . -name


rmlscsi: [GNU ld version 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
21:17:00 up 143 days, 20:50, 3 users, load average: 1.32, 1.13, 0.73

More information about the blfs-support mailing list