Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sticks!dwb From: dwb@sticks.apple.com (David W. Berry) Newsgroups: comp.unix.aux Subject: Re: GCC under A/UX Message-ID: <2209@internal.Apple.COM> Date: 5 Jun 89 19:39:48 GMT References: <422@wizard.UUCP> Sender: usenet@Apple.COM Distribution: usa Organization: Apple Computer Lines: 32 In article <422@wizard.UUCP> john@wizard.UUCP (John Danner) writes: >I downloaded the gcc binaries and applied the A/UX patches to my gcc sources >including both gcc-1.35.aux.diffs and gcc-1.35.aux.patch.1. Unfortunately, >I am getting the following error on the first source file I try to compile: > >make CC=gcc install > gcc -c -g -DAUX_ASM -I./config c-parse.tab.c >Assembler: /tmp/cca00589.s > aline 13915 : Warning: Table overflow: some optimizations lost (Labels) > aline 8707 : Symbol Table Stack Overflow >*** Error code 1 > >Stop. > >Any suggestions? Unfortunately, gcc is too big for the assembler to cope with if compiled with the -g option. Try changing CFLAGS to not include -g. > >I want to generate some of the object files because they are needed by g++. >Is the person within Apple who successfully created the gcc binaries working >on compiling g++? Well, I've got it to compile, but haven't had time to do more than that. If somebody else is interested I can give them the changes necessary to make it compile. **THIS IS NOT ENOUGH TO MAKE IT WORK** Unfortunately the coff'izing changes for g++ require the assembler to understand the .segment operator and the A/UX assembler doesn't. Somebody will have to cobble together something along the lines of the post loader or some such. Opinions: MINE, ALL MINE! (greedy evil chuckle) David W. Berry (A/UX Toolbox Engineer) dwb@apple.com 973-5168@408.MaBell AppleLink: berry1