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


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

Why can't I statically link against the libraries?


nif@system-server:/www/niklas/javatests$ gcj-3.0 --verbose -Wl, -Bstatic -o
LinkTest --main=LinkTest
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.2/specs
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.2/../../../libgcj.spec
rename spec lib to liborig
rename spec startfile to startfileorig
Configured with:
../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/u
sr --infodir=/share/info --mandir=/shax
Thread model: posix
gcc version 3.0.2 20010908 (Debian prerelease)
 /usr/lib/gcc-lib/i386-linux/3.0.2/jvgenmain LinkTest /tmp/ccHQBENwmain.i
 /usr/lib/gcc-lib/i386-linux/3.0.2/cc1 /tmp/ccHQBENwmain.i -quiet -dumpbase
.c -g1 -version -fdollars-in-identifiers -o /tmp/ccuxpCs
GNU CPP version 3.0.2 20010908 (Debian prerelease) (cpplib) (i386 Linux/ELF)
GNU C version 3.0.2 20010908 (Debian prerelease) (i386-linux)
        compiled by GNU C version 3.0.2 20010908 (Debian prerelease).
 as -V -Qy -o /tmp/cc5P5ukhmain.o /tmp/ccuxpCjTmain.s
GNU assembler version 2.11.90.0.31 (i386-linux) using BFD version
2.11.90.0.31
 /usr/lib/gcc-lib/i386-linux/3.0.2/collect2 -m elf_i386 -dynamic-linker
/lib/ld-linux.so.2 -o LinkTest /usr/lib/gcc-lib/i386-linux/o
/usr/bin/ld: cannot open : No such file or directory
collect2: ld returned 1 exit status
nif@system-server:/www/niklas/javatests$
--
Best Regards

Niklas Fondberg  -  niklas.fondberg@i3micro.org
System Developer  -  I3 Micro Technology


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