I've been writing a shared object on AIX using xlC. I
am wondering if a application compiled with gnu will
be able to link to this object correctly?
Thanks,
Mark
Thanks,
Mark
Mark Mendell
Quote:> I've been writing a shared object on AIX using xlC. I
> am wondering if a application compiled with gnu will
> be able to link to this object correctly?
> Thanks,
> Mark
C compilers are link-compatible.Quote:> I've been writing a shared object on AIX using xlC. I
> am wondering if a application compiled with gnu will
> be able to link to this object correctly?
If the shared object exports 'C'-callable API,
there should be no problems.
> C compilers are link-compatible.
> C++ compilers are not.
> If the shared object exports 'C'-callable API,
> there should be no problems.
Mark
1. hp-ux C compiler flags vs hp-aix C compiler flags
Cheers,
ON hp-ux C compiler:
$ cc +z -c orashell.c
$ ld -b -o orashell.so orashell.o
I want to do the same in a hp-aix C compiler:
PROBLEM--
1)on aix C compiler the cc +z flag is not recognized.
2)on aix ld command, flags -b and -o are not recognized.
Any ideas?
Thanks,
Arturo
2. On Redhat Install get "In Idle Task - Not Syncing"
3. Mixing c++ libs from different compilers
5. Mixing g++ and Sun's C compiler
6. Solaris1.1.1versionB install problems
7. sun compiler 64 bit mode mixed up with 32 bit ?
8. talk and ntalk behind firewall?
9. Is there any known problem with mixed sparc C++ compiler and gcc compiled static lib
10. AIX 4.3.3 - C for AIX compiler problem
11. AIX C 3.1.4 compiler generated executables not portable to older AIX Versions
12. SSA in Mixed NT/AIX Environment
13. OpenLDAP in mixed AIX/Linux environment