Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jmb@elm.circa.ufl.edu (Jeffrey Burke)
Subject: Spurious "-" in linker??
Date: 27 May 1994 03:01:07 GMT	[thread overview]
Message-ID: <2s3npjINNf0v@no-names.nerdc.ufl.edu> (raw)
In-Reply-To: 2s3f2i$8ql@usenet.pa.dec.com


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 <stdio.h>
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



  reply	other threads:[~1994-05-27  3:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-26 15:31 SoftPC or equivalent jerry.needell
1994-05-27  0:32 ` Jeffrey Mogul
1994-05-27  3:01   ` Jeffrey Burke [this message]
1994-05-27  2:00 ` PERockwell
1994-05-30  3:21 ` Fred Velijanian
1994-05-30 15:09   ` Dirk Grunwald
1994-05-31 16:20 ` Jean-Luc Bernard
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