This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Porting GCC Toolchain


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]