Object File (.o) for calling external routines- Is it ELF?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
GeeK
Participant
Posts: 6
Joined: Sun Aug 28, 2005 2:19 am
Location: Pakistan

Object File (.o) for calling external routines- Is it ELF?

Post by GeeK »

Hi,

Just wanted to confirm whether the object file required to call external routines is a standard "ELF" or not?

If so, then does the extension have to be ".o" for sure, or a simple ".obj" should be OK as well.

I am facing some errors when I pass a .obj file and try to call a routine - would this be related to some other reason or the extension alone?

Thanks in advance ...
Regards,
Farid Anwar Qureshi
PS Consultant
Eric
Participant
Posts: 254
Joined: Mon Sep 29, 2003 4:35 am

Post by Eric »

External routines don't use the object file ( *.obj) on a windows system.

On windows systems you to compile either a *.lib (library file) or a *.dll (dynamic library file)
Post Reply