🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54297

GNU on AIX (IBM-RT)

#54297
From: Tony R. Marasco
Date: Thu, 29 Nov 1990 21:41
36 lines
2433 bytes
Hello.  Has anyone had success installing GNU C (1.36 or 1.37.1) on an IBM
RT running AIX?  I have had no success on either version.  Here is a short
summary of my problems:

I chose i386-AIX as my configuration type.  It seemed like the best choice.

_alloca() is not pre-defined.  Therefore I uncommented the line in Makefile.

During compilation (make [no args]), I get warnings about "illegal bit field
types - unsigned assumed".  These occur in tree.h, rtl.h, and varasm.c.
The code it does not like looks like: unsigned char code : 8  Since I
am not an expert at C, I don't know what ": 8" exactly does.  Should I
experiment and change these values??

I downloaded bison (latest version).  That seemed to work OK.

I was told _bcopy was a multiply defined symbol in /lib/libc.  I
changed the name to "jbcopy" in cccp.c.  I grep'd for it elsewhere in the
objects that are linked to cccp.c, but didn't find it.  I did NOT change
bcopy in any files not linked to cccp.c.  Is that OK?

During the creation of gnulib2 is where it crashes.  I receivea message like:
"./gcc received fatal signal 6 from cpp"  Any suggestions?

I tried to compile a short C program using gcc.  It was: main() { printf(msg);}
Regardless if that should work, I received two different messages.  On
1.37.1 I got: "-undef" not being an option and "invalid option -s2 on line1"
from the assembler.  On 1.36 I received only the "-s2" error.

I wouldn't be suprised if the compiler (cc) has a bug.  Does anyone have
any suggestions?  Any help is welcome.  Thanks in advance,
-------
| Tony Marasco                 |  "Questions are a burden for others.     |
| Penn State University        |   Answers are a prison for oneself."     |
| Schuylkill Haven, PA 17976   |     - The Prisoner                       |
| trm900@psuvm.psu.edu       - or -   %s!psuvax1!psuvm.BITNET!trm900      |
Technical Details
Message-ID: <90333.164151TRM900@psuvm.psu.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!psuvm!trm900

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,67bc21bbb98ed791,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1990-11-29 13:41:51 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!psuvm!trm900
From: TRM900@psuvm.psu.edu (Tony R. Marasco)
Newsgroups: gnu.gcc.help
Subject: GNU on AIX (IBM-RT)
Message-ID: <90333.164151TRM900@psuvm.psu.edu>
Date: 29 Nov 90 21:41:51 GMT
Organization: Penn State University
Lines: 36
Posted: Thu Nov 29 22:41:51 1990