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]

Redundant entries in .la files



  Hi,

       I would be grateful for any advice to help resolve a
  problems I've encountered with dependency lists in ".la"
  files generated using gcc-3.1.

  For reasons that are too involved to detail here, I have installed
  gcc-3.1 as the system compiler on my linux-2.1.17, glibc-2.2.5,
  binutils-2.11.93.0.2(HJL) SMP workstation.

  The extract below comes from the Gnome-2 libgen_util_applet-2.la
  library advice file.

  It is the redundant -lm specification that is the cause of
  concern.   Other specs, such as: -lgcc_s -lc -lgcc_s -lm -lgcc_s
  -lc -lgcc_s, in other files, may be repeated to such an extent that
  the loader commands fail.

  Where should I look to locate the cause of this problem ?

  Thanks,

         Roger Brown    bregor at anusf dot anu dot edu dot au

===================================================================
# Libraries that this one depends upon.
dependency_libs=' /usr/local/Gnome-2/lib/libpanel-applet-2.la -L/usr/local/lib
 -L/usr/X11R6/lib -L/usr/local/Gnome-2/lib -lm -lm -lm -lm -lm -lm -lm -lm -lm
   -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm
   -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm
   -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm
   -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm
  /usr/local/Gnome-2/lib/libglade-2.0.la -lm /usr/local/Gnome-2/lib/l ibwnck-1.la
  -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm 
  -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm
  /usr/local/Gnome-2/lib/libgnomeui-2.la  .................


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