🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51793

Sun cc compiler option problem on SunOS5.1/Solaris 2.1

#51793
From: Heas
Date: Wed, 31 Mar 1993 12:47
52 lines
2548 bytes
hi all,
	I am having trouble compiling gcc 2.3.1 on a SparcStation IPX running
solaris 2.1. --->

phish [133] make distclean
	....uninteresting.

phish [134] configure sparc-sun-solaris2
Linked `config.h' to `./config/xm-spc-sol2.h'
Linked `tm.h' to `./config/spc-sol2.h'
Linked `md' to `./config/sparc.md'
Linked `aux-output.c' to `./config/sparc.c'
Linked `tconfig.h' to `./config/xm-spc-sol2.h'
LLinked `hconfig.h' to `./config/xm-spc-sol2.h'
Merged x-sparcv4.
Merged t-sol2.
Created `Makefile'.
Links are now set up for target sparc-sun-solaris2.
phish [135] make LANGUAGES=c
cc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config \
  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2/`sed -e 's/.*\"\
([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
  -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/sparc-sun-solaris2/`sed -e 's/.*\
"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
  -DTOOLDIR=\"/usr/local/sparc-sun-solaris2/\" \
  -c `echo ./cccp.c | sed 's,^\./,,'`
cc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config -c ./cexp.c
cc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config version.c
cc -c  -DIN_GCC -DSVR4  -g     -I. -I. -I./config obstack.c
cc  -DIN_GCC -DSVR4  -g     -I. -I. -I./config  \
  -Demacs -c `echo ./alloca.c | sed 's,^\./,,'`
true
cc  -DIN_GCC -DSVR4  -g  -AF 1 -AD 64 -AI 0 -o cccp cccp.o cexp.o version.o obst
ack.o ` case "cc" in "cc") echo alloca.o ;; esac `
ld: fatal: file 1: cannot open file; errno=2
*** Error code 1
make: Fatal error: Command failed for target `cccp'
phish [136]

	I coax it w/o "-AF 1 -AD 64 -AI 0" and all compiles....til stage2 
compilation (forgot to save the error) where it bombs.  what are these options?
should they be showing up ?  hell...just where are they coming from ? HELP!


	email appreciated...heas@chpc.org.

thanks in advance,

-heas
Technical Details
Message-ID: <1993Mar31.124751.23231@chpc.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!chpc.chpc.org!heas

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,6aa78ecee6c2aa26,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-03-31 04:58:43 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!chpc.chpc.org!heas
From: heas@chpc.org (Heas)
Subject: Sun cc compiler option problem on SunOS5.1/Solaris 2.1
Message-ID: <1993Mar31.124751.23231@chpc.org>
Sender: news@chpc.org (News)
Nntp-Posting-Host: falcon.chpc.org
Organization: Center For High Perf. Computing of WPI; Marlboro Ma
Date: Wed, 31 Mar 1993 12:47:51 GMT
Lines: 52