This is the mail archive of the gcc-help@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]

ld 'problem'



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


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