Article View: gnu.gcc.help
Article #41447gcc-2.7.2 on OSF/1 V3.2 - Alpha
From: Pedro Souto
Date: Mon, 08 Apr 1996 00:00
Date: Mon, 08 Apr 1996 00:00
42 lines
1716 bytes
1716 bytes
I'm having troubles compiling gcc-2.7.2 on OSF/1 V3.2 in an Alpha workstation. If I run: configure make LANGUAGE=c the compilation fails with an error message from the linker: > collect2: ld returned 1 exit status > /usr/local/alpha-dec-osf3.2/bin/ld: \ > built in linker script:1: parse error > *** Exit 1 > Stop. I looked at the Makefile and it has a comment about using gcc to compile enquire.c, so I changed the Makefile so that it would use cc to compile enquire.c. With this change I was able to successfully terminate stage1. Then I typed: make stage1 make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O2" LANGUAGE="c" After the compilation of some files, I got the same error the first time the linker is invoked: > stage1/xgcc -Bstage1/ -DIN_GCC -g -O2 -o cccp cccp.o \ > cexp.o version.o obstack.o ` case "stage1/xgcc -Bstage1/" \ > in "cc") echo "" ;; esac ` -lmld > collect2: ld returned 1 exit status > /usr/local/alpha-dec-osf3.2/bin/ld:built in linker \ > script:1: parse error > *** Exit 1 > Stop. There are several options to configure: --with-gnu-ld --with-stabs I've tried every possible combination without success: I always got the same error messages at the same points of the compilation. I'd appreciate any help to solve this problem. Thanks, Pedro
Technical Details
Message-ID:
<4kbdu6$14t@newsserv.cs.sunysb.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,74a13fb3f5e7266e,start X-Google-Attributes: gid11318c,public From: souto@cs.sunysb.edu (Pedro Souto) Subject: gcc-2.7.2 on OSF/1 V3.2 - Alpha Date: 1996/04/08 Message-ID: <4kbdu6$14t@newsserv.cs.sunysb.edu> X-Deja-AN: 146379962 organization: State University of New York at Stony Brook newsgroups: gnu.gcc.help