From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cc8cb9c51ad1f8df X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-26 23:04:34 PST Path: bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!zombie.ncsc.mil!news.duke.edu!concert!gatech!usenet.ufl.edu!elm.circa.ufl.edu!jmb From: jmb@elm.circa.ufl.edu (Jeffrey Burke) Newsgroups: comp.unix.osf.osf1 Subject: Spurious "-" in linker?? Date: 27 May 1994 03:01:07 GMT Organization: University of Florida, Gainesville Sender: jb4@cis.ufl.edu Distribution: world Message-ID: <2s3npjINNf0v@no-names.nerdc.ufl.edu> References: <2s2fc0$1dn@mozz.unh.edu> <2s3f2i$8ql@usenet.pa.dec.com> NNTP-Posting-Host: elm.circa.ufl.edu Can anyone help me figure out why our Alpha's compiler (C & F77) running on OSF/1 V1.2A (Rev. 10.41) is getting a spurious "-" in the linking portion of compilation? Below shows where the "-" pops up. cobra:1> cat test.c #include main() { printf("Hello World \n") ; } cobra:2> cc -V test.c cc (cc) The DEC OSF/1 AXP Compiler Driver 3.11 : : cobra:3> cc -v test.c /usr/lib/cmplrs/cc/cfe -DLANGUAGE_C -Dunix -D__LANGUAGE_C__ -D__unix__ -D__osf__ -D__alpha -D_LONGLONG -D_CFE -DSYSTYPE_BSD -D_SYSTYPE_BSD -I/usr/include3.11 -Xv -Xg0 -Xdollar -O1 -std0 -XS/tmp/ctmst020417 test.c > /tmp/ctmf020417 /usr/lib/cmplrs/cc/cfe: main 0.0u 0.0s 0:00 75% 0+0k 0+15io 0pf+0w /usr/lib/cmplrs/cc/ugen -v -G 8 -g0 -O1 /tmp/ctmf020417 -o /tmp/ctmc020417 -t /tmp/ctmst020417 -temp /tmp/ctmgt020417 ugen: main 0.0u 0.0s 0:00 0% 0+0k 0+4io 0pf+0w /usr/lib/cmplrs/cc/as1 -v -G 8 -p0 -g0 -O1 /tmp/ctmc020417 -o test.o -t /tmp/ctmst020417 as1: main 0.0u 0.0s 0:00 80% 0+0k 0+2io 0pf+0w /usr/lib/cmplrs/cc/ld -G 8 - -g0 -O1 -call_shared -nocount /usr/lib/cmplrs/cc/crt0.o -count test.o -nocount -lc ld: Unknown flag: - ld: Usage: ld [options] file [...] 0.0u 0.0s 0:00 0% 0+0k 0+0io 0pf+0w cobra:4> Can someone shed some light on this problem? Please send responses to: jb4@cis.ufl.edu, I'll can post the solution once verified. Jeff Burke