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

GNU compiler options for ODBc


Can I compile, prelink, and link a program with ODBC functions on OS/390
under UNIX System Services using gcc? What are the compiler, prelinker and
linker options?

I used the following the following options with IBM compiler:

compile:        cc -c -W 'c,dll,long,source,list' odbcdrvr.c > odbcdrvr.lst

prelink and link:        cc -W l,p,map,noer -W l,dll,AMODE=31,map -o
odbcdrvr odbcdrvr.o "//'DSN510.SDSNMACS(dsnaocli)'" >odbcdrvr.lnk

Thanks, Michael
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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