This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
ld 'problem'
- To: <help-gcc at gnu dot org>
- Subject: ld 'problem'
- From: Igmar Palsenberg <i dot palsenberg at jdimedia dot nl>
- Date: Wed, 6 Dec 2000 15:40:16 +0100 (CET)
Hi,
I've been playing with ld for a few days, with no success. Following link
is a working one ::
gcc -shared -Xlinker -x -o file.so object1.o object2.o -llib1 -llib2
All above objects have been placed in archives (ar cr arch1.a obj1.o
obj2.o ......)
I've got multiple of those, so I would say :
gcc -shared -Xlinker -x -o file.so arch1.a arch2.a .... -llib1 -llib2
However, this is a no go. Anyone an idea what I'm missing here ??
I I replace the .a file with the names of all .o files in those archive it
starts working... I'm totally lost here.
Regards,
Igmar
--
--
Igmar Palsenberg
JDI Media Solutions
Jansplaats 11
6811 GB Arnhem
The Netherlands
mailto: i.palsenberg@jdimedia.nl
PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar