Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Creating shared images with c89?
@ 1996-03-11  5:00 Simon Wright
  0 siblings, 0 replies; only message in thread
From: Simon Wright @ 1996-03-11  5:00 UTC (permalink / raw)


(OSF1 V3.0 358.78)

To create a shared image with gcc, I say
  gcc -shared -o libfoo.so foo.o

If I try this with c89, I get
  -call_shared: must specify only one of -shared, -call_shared, -non_shared
because the command line given to ld by c89 (always) includes -call_shared.

Clearly I can just give the ld command line directly, but: is there in
fact a way to get c89 to do what I want?

-- 
Simon Wright                                          (G-net) +842-1778
Ferranti Naval Systems                        (voice) +44(0)1705-701778
GEC-Marconi S3I Combat Systems Division         (fax) +44(0)1705-701800



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-03-11  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-11  5:00 Creating shared images with c89? Simon Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox