ld 'problem'

Igmar Palsenberg i.palsenberg@jdimedia.nl
Wed Dec 6 06:40:00 GMT 2000


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



More information about the Gcc-help mailing list