This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13097] New: archive libraries libXXX.a are not found unles the -lXXX is at the end of the command line.
- From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2003 05:41:04 -0000
- Subject: [Bug c/13097] New: archive libraries libXXX.a are not found unles the -lXXX is at the end of the command line.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
archive libraries libXXX.a are not found unles the -lXXX is at the end of the command line.
Environment:
System: SunOS afwadevl 5.8 Generic_108528-25 sun4u sparc SUNW,Ultra-Enterprise
Architecture: all tried, SunOS, RedHat 9, Mandrajk 9, AIX
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: ../gcc-3.2.3/configure --prefix=/opt/gcc-3.2.3 --enable-languages=c,c++,f77 --disable-multilib --with-gnu-as --with-gnu-ld --with-as=/opt/gcc-3.2.3/bin/as --with-ld=/opt/gcc-3.2.3/bin/ld
How-To-Repeat:
May be reproduced with an archive library.
------- Additional Comments From Calvin dot Kline at afwa dot af dot mil 2003-11-18 05:41 -------
Fix:
unknown
--
Summary: archive libraries libXXX.a are not found unles the -lXXX
is at the end of the command line.
Product: gcc
Version: 3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Calvin dot Kline at afwa dot af dot mil
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13097