From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,76ee2d1125a76752,start X-Google-Attributes: gidfee84,public From: simon.j.wright@gecm.com (Simon Wright) Subject: Creating shared images with c89? Date: 1996/03/11 Message-ID: #1/1 X-Deja-AN: 142734412 distribution: local organization: Ferranti Naval Systems, GEC-Marconi S3I Combat Systems Division newsgroups: comp.unix.osf.osf1 (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