* GNU compiler options for ODBc
@ 2001-11-08 13:36 michael.shapiro
2001-11-08 14:34 ` David Edelsohn
0 siblings, 1 reply; 2+ messages in thread
From: michael.shapiro @ 2001-11-08 13:36 UTC (permalink / raw)
To: gcc
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GNU compiler options for ODBc
2001-11-08 13:36 GNU compiler options for ODBc michael.shapiro
@ 2001-11-08 14:34 ` David Edelsohn
0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2001-11-08 14:34 UTC (permalink / raw)
To: michael.shapiro; +Cc: gcc
The "GCC/i370" configuration does (or did) support OS/390 USS. I
don't believe that GCC/i370 will produce correct dynamically loaded
objects because the compiler places the addres of literals in the text
section. Am I correct in assuming that your ODBC work requires creating a
DLL?
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-19 22:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-08 13:36 GNU compiler options for ODBc michael.shapiro
2001-11-08 14:34 ` David Edelsohn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).