Re: How to create shared object/library Israel Waldman <israelaix@hotmail.com> wrote:
> I'm using an AIX 5.1 over power_604.
> I've tried to create shared object, but i had some compilation errors
> (maybe i have to indicate in the compilation which kind of
> architecture to use?).
> I need some guiding about how to do it right...
If you want good help, you need to tell the group
a) which compiler you use
b) how you invoked it
c) what messages you got
Assuming that you use xlC, look at the manual page for the -G option.
If you use gcc, check out the -shared option.
Please consider that creating shared objects is a linker task and not
a compiler task, so if you really get compilation errors this may mean
that your code is broken.
Yours,
Laurenz Albe |