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]
Other format: [Raw text]

RE: Executable shared object


Hi Pradyuman,

That doesn't quite do what Paolo is asking for.

Why not just put libuseso.c directly in the libexpm.so file (that would do what Paolo wants)?

gcc -fPIC -c exp1.c exp2.c exp3.c libuseso.c
ld -G -o libexpm.so exp1.o exp2.o exp3.o libuseso.o -dy -ldl -lc

Then the problem becomes "Hey, that doesn't work!"

--Eljay



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