This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Porting GCC Toolchain
- From: Ranjit Mathew <rmathew at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 04 Mar 2004 10:55:46 +0530
- Subject: Re: Porting GCC Toolchain
- References: <1ae4041a9cf8.1a9cf81ae404@bryant.edu>
mbroadst@bryant.edu wrote:
[...]
> get a laundry list of things I need to do) A big issue I have found is
> that SkyOS has a TERRIBLE command line, which is what lead me to this
> process in the first place (wanted to build bash for SkyOS..) Thank you
[...]
I'm sure a GCC magus can answer your question better, but
FWIW:
If your goal is merely to be able to create executables
for SkyOS using the latest GCC, you can create a cross
compiler that runs, say, on Linux and creates executables
for SkyOS. More information on GCC cross compilers at:
http://www.objsw.com/CrossGCC/
If you want "native" GCC for SkyOS that runs on SkyOS
and creates executables for SkyOS but you can't be
bothered to first try porting bash and other UN*X
tools over to SkyOS, you might want to try building
a crossed-native GCC for SkyOS where the build is
done on, say, Linux. An example of this process is:
http://ranjitmathew.tripod.com/phartz/gcj/bldgcj.html
Do bear in mind that for either of this to work, you
must first port GCC to the SkyOS target, including
taking care of stuff mentioned in:
http://gcc.gnu.org/onlinedocs/gccint/Target-Macros.html
Of course, you can use the previous GCC port for
SkyOS as a springboard for your efforts.
HTH,
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/