[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross-compiler update



I had resolved to finish my cross-compiler cookbook this week before I
took off for a week on my honeymoon...

Naturally, I ran into some EVIL problems.

Has anyone tried building an Atari cross compiler on Linux?  That was my
test system this time... major problems while compiling the binutils.  All
goes fine 'til it hits the build for fixstk, then I get weird, weird
errors in the Linux header files!

The error gcc (the Linux gcc) spits out is this:

<blah blah blah> fixstk.c:22:
/usr/include/unistd.h:259    parse error before `__attribute__'

Line 259 of unistd.h is the prototype for either exit() or abort().  I'd
thought that maybe the stdlib.h that comes with the utlsrc04.zoo on atari.
archive was confusing it, but no amount of tweaking will let me build
fixstk, etc.

I eventually gave up, since at that point in the build, I already had
a cross-compiler version of ld.  Or though I though...  Whenever I try
to link something with the cross-compiler, I get "virtual memory exhaused"
from this ld.  Gimmie a break, I was compiling "hello world" on an 8M
machine with 16M of swap!

This is rather frustrating, since I'd already successfully built a cross-
compiler on an NCR System 3000 box (another Intel CPU'd system).  I guess
Linux is too weird.

Does anyone have any clues?  I wonder if anyone is working on a newer
port of the GNU binutils...

-- 
----------========================_   /\ ============================----------
Chris Herborth                    \`o.0'       herborth@53iss6.Waterloo.NCR.COM
Information Products Developer    =(___)=
AT&T Global Information Solutions    U