s390 gcc cross-compiler toolchain

View: New views
1 Messages — Rating Filter:   Alert me  

s390 gcc cross-compiler toolchain

by Harold Grovesteen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For anyone interested in building a gcc compiler toolchain for s390, I
recommend http://kegel.com/crosstool/.  It works out of the box.

By default it installs into /opt/crosstool.  It recommends creating this
diretory and changing the ownership to yourself before running.  This
eliminates the need to run the scripts as root, a good thing when
building developmennt tool chains.  Then run ./demo-s390.sh from the
directory in which the script exists.  This will download source,
compile and install everything into the /opt/crosstool diretory.  
Because the directory and file names are huge, I created some symbolic
links from my home directory to the executables for convenience.

Definitely read all of the available documentation, just to familiarize
yourself with what is going on.  There is pretty much of an expectation
that you know what you are doing if you are building a cross toolchain.

Harold Grovesteen