[comp.unix.aux] gcc

rmtodd@servalan.uucp (Richard Todd) (08/12/89)

In article <625@umigw.MIAMI.EDU> aem@Mthvax.CS.Miami.Edu writes:
>BTW, I've snagged the binary for gcc from apple.com, as well as the
>patched sources for a/ux, but can't compile gcc under a/ux, either using
>gcc 1.35 (minus patchs) or cc with the big compilier. Has anyone been able
>to compile it?
  Yes.  As I recall, I had to take out the -g option because the large 
amount of debugging information caused the assembler to freak out.  Still,
it is possible to compile gcc with gcc.  Don't waste your time trying it
with the big cc compiler -- even the "big" tables aren't big enough.  
Somebody needs to teach those AT&T guys about this marvelous new 
invention called "malloc". 
  Now for my question: Has anyone successfully gotten GDB to work?  
It looks like a very nice debugger, but it requires a good deal of
customization to each system, and a good deal more understanding of A/UX
internals than I have.  I  did some work on trying to get it to compile,
but gave up on it temporarily to move on to other things.
--
Richard Todd	rmtodd@uokmax.ecn.uoknor.edu  rmtodd@chinet.chi.il.us
	rmtodd@servalan.uucp
Motorola Skates On Intel's Head!

aem@ibiza.cs.miami.edu (a.e.mossberg) (08/14/89)

rmtodd@servalan.uucp (Richard Todd) writes:
>  Yes.  As I recall, I had to take out the -g option because the large 
>[...]

Thanks Richard, I knew it would be something pretty simple that I didn't think
of.  I took out the -g option, and it compilied right away, with no problems
at all.


aem
a.e.mossberg - aem@mthvax.cs.miami.edu/aem@umiami.BITNET - Pahayokee Bioregion
I have a simple philosophy. Fill what's empty. Empty what's full. Scratch where
it itches.				- Alice Roosevelt Longworth

steveg@tove.umd.edu (Steve Green) (08/14/89)

In article <640@umigw.MIAMI.EDU> aem@Mthvax.CS.Miami.Edu writes:
]rmtodd@servalan.uucp (Richard Todd) writes:
]>  Yes.  As I recall, I had to take out the -g option because the large 
]>[...]
]
]Thanks Richard, I knew it would be something pretty simple that I didn't think
]of.  I took out the -g option, and it compilied right away, with no problems
]at all.
]
Has anyone been able to make stage2 or stage3 builds this way???  I was able to
do the initial compile also but when I attempted the stage2 build, I got a
message something like this "cc1: unknown option '-g'".  I followed the 
instructions exactly. (so I think)
BTW: AUX 1.1


--
	-steveg@tove.umd.edu		..uunet!tove.umd.edu!steveg
"Ignore the message: 'ld warning: file /tmp/kernAAAa06386 has no relocation
information' if it appears."

bkilgore@nmsu.edu (Bruce Kilgore) (01/30/90)

Has anyone ran across "Unreasonalbe include nesting" when compiling
gcc.  If so how can I resolve this problem ?

Thank-you in advance
Bruce Kilgore   (bkilgore@nmsu.edu)
            

liam@cs.qmw.ac.uk (William Roberts) (02/03/90)

In article <BKILGORE.90Jan29095108@illyria.nmsu.edu> bkilgore@nmsu.edu (Bruce Kilgore) writes:
>Has anyone ran across "Unreasonalbe include nesting" when compiling
>gcc.  If so how can I resolve this problem ?

Sorry people, this isn't shrink wrap stuff so expect to do some
of your own problem solving.

In this case, it is just a matter of using your existing tools
properly. Try setting the CFLAGS to -E on a copy of the cc
command that the gcc makefile was executing when this fault
arose. What -E does is arrange just to run the preprocessor;
this leaves handy remarks about include files in the file, so
it should soon become obvious where your (infinite) include
nesting is taking place.

For my money your tm.h file includes itself, but I haven't yet
laid hands on a copy of the gcc source with any AUX specific
stuff so I don't speak from specific experience here.

-- 

William Roberts                 ARPA: liam@cs.qmw.ac.uk
Queen Mary & Westfield College  UUCP: liam@qmw-cs.UUCP
Mile End Road                   AppleLink: UK0087
LONDON, E1 4NS, UK              Tel:  01-975 5250 (Fax: 01-980 6533)

bbs.vertigo@mudslide.spies.sf-bay.org (Kevyn Shortell) (03/22/91)

I'm looking for GCC or some other Shareware C compiler, can someone tell me 
where to get this or BinHex a copy to me?
Thanks

--
Kevyn Shortell (bbs.vertigo@mudslide.spies.sf-bay.org)

Spies in the Wire, PUBLIC ACCESS UNIX  -- (408) 867-7400

normane@syma.sussex.ac.uk (Norman Craig Emery) (04/17/91)

    I know this could get annoying, but I would REALLY like to be able to  get
the binaries for gcc that will run on AU/X 1.1.
    I promise that this will be the last time I ask anyone for it!

                         Thanking you in anticipation.
                                  Craig Emery
                           normane@cogs.sussex.ac.uk