This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GNU compiler options for ODBc
- From: <michael dot shapiro at us dot pwcglobal dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 19 Nov 2001 16:51:16 -0500
- Subject: 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.