From: simon.j.wright@gecm.com (Simon Wright)
Subject: Creating shared images with c89?
Date: 1996/03/11 [thread overview]
Message-ID: <SIMON.J.WRIGHT.96Mar11172052@luthien.frlngtn.gmcs.gecm.com> (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
reply other threads:[~1996-03-11 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox