Subject: Re: Sun/MacBSD cross-compiling environment?
To: Tasuki Hirata <>
From: Ted Lemon <>
List: macbsd-general
Date: 01/24/1994 09:13:21
> syntax error: "'" unexpected
> Does anyone have any ideas as to what went wrong?

Your compilation tools are outputting the wrong executable format, so
MacBSD is trying to run your executable through the Bourne shell,
which of course bombs quickly.

You need to port the entire tool chain to SunOS in order for this to
work.   GCC, gas and gld are designed for this purpose, so you should
be able to do it, but I can't give you all the help you need here -
perhaps, as you say, somebody has already done it.   If not, try
reading up on cross-compilation in the gcc, gas and gld info files -
you should be able to get enough information out of them to proceed.