This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

references to compilation library in libstdc.la


I recently installed the gcc 3.4 development version (from just before 
newyear) on my system, and am now recompiling a number of libraries.

While compiling libarts I got strange warnings like this:
  libtool: link: warning: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libstdc++.la' seems to be moved

I haven't figured out what they mean yet (any tip about that would be 
welcome by the way), but looking into it got me to look into my 
/usr/lib/libstdc++.la, and one of the lines of that made me curious:

dependency_libs=' -L/home/tonh/src/gcc-3.4-20031231/build/i686-pc-linux-gnu/libs
tdc++-v3/src -L/home/tonh/src/gcc-3.4-20031231/build/i686-pc-linux-gnu/libstdc++
-v3/src/.libs -lm -lm -lm -L/home/tonh/src/gcc-3.4-20031231/build/gcc -L/usr/i68
6-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/../i686-pc-linux-gnu/
lib -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s'

- First of all it refers to my compilation directory, which i think should 
  leave no effects like this in my install (I assume that line DOES have 
  actual effects).
- Second it refers to places like -L/usr/i686-pc-linux-gnu/lib that only have 
  some very old stuff I'm not sure this recent gcc should be referring to
- Third it has all these repeats of libraries like three times -lm, which
  seems a bit overkill

I don't really know when exactly this line is used (link scripts ?), but 
I thought it best to point it out to the people here so you can decide if 
this line indeed looks proper.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]