🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53099

HELP! Can't make stage2 gcc 1.38 on DECStation 3100/Ultrix 4.2

#53099
From: USENET News System
Date: Wed, 18 Mar 1992 00:13
38 lines
1994 bytes
kai ora,

please help me install gcc 1.38 on a DECStation 3100 running Ultrix 4.2.
i am unable to make the stage 2 compiler because of the error shown below.
i ran config.gcc with 'config.gcc decstation'.

my apologies if this is has an obvious solution.

----------------------
stage1/gcc -g -O -Bstage1/ -I. -I. -I./config    -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/pd/lib/\"    -DSTANDARD_EXEC_PREFIX=\"/usr/local/pd/lib/gcc-\" -c    `echo ./gcc.c | sed 's,^\./,,'`
gcc.c: In function fatal_error:
gcc.c:1680: `SIG_DFL' undeclared (first use this function)
gcc.c:1680: (Each undeclared identifier is reported only once
gcc.c:1680: for each function it appears in.)
gcc.c: In function main:
gcc.c:1701: `SIG_IGN' undeclared (first use this function)
*** Error code 1

Stop.
---------------------
One of the offending lines is:

	if (signal (SIGINT, SIG_IGN) != SIG_IGN)

the usage of SIG_DFL is roughly the same.
Other that where SIG_IGN and SIG_DFL is used in offending lines of code,
i can't find them anywhere.

thank you for helping, (so does the user who is breathing down my neck about
gcc),

vicki

Victoria Spagnolo - Programmer/Analyst
Department of Production Technology	|	V.Spagnolo@massey.ac.nz
Massey University			|	Voice: +64-6-356-9099 x7535
Palmerston North			|	Fax: +64-6-350-5604
New Zealand				|	New Zealand = GMT+12
Technical Details
Message-ID: <1992Mar18.001350.7435@massey.ac.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!VSpagnol

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5240aabae01c3e17,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-03-17 16:38:51 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!VSpagnol
Newsgroups: gnu.gcc.help
Subject: HELP! Can't make stage2 gcc 1.38 on DECStation 3100/Ultrix 4.2
Message-ID: <1992Mar18.001350.7435@massey.ac.nz>
From: news@massey.ac.nz (USENET News System)
Date: Wed, 18 Mar 92 00:13:50 GMT
Sender: V.Spagnolo@massey.ac.nz
Organization: Production Technology, Massey University, Palmerston North, NZ
Lines: 40