1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Using this package
==================
This is just an example package made by make-cross, for people who like
to have everything in the system installed via dpkg. If this package does
not suit your needs "as is", just download the source, and make your own
make-cross-derived package.
In addition to this "cheap" cross-compiler, you will need the GNU/Hurd
libraries and include files, which are supposed to be in /usr/i386-gnu/lib
and /usr/i386-gnu/include.
This package assumes that you have your GNU/Hurd partition mounted on the
/gnu directory, so there are already symlinks in /usr/i386-gnu for lib and
include, you may remove those and create your own symlinks if you have
your GNU/Hurd partition somewhere else.
There are two ways of using this package:
1) By changing the PATH
PATH=/usr/i386-gnu/bin:$PATH
and using the ordinary compiler names (gcc, g++, etc.).
2) By defining the required variables
CC=i386-gnu-gcc
and using them via Makefiles and such, without having to change the PATH.
If you are not only going to cross-compile things but also want to create
Debian packages, using the `dpkg-cross' package is encouraged.
Santiago Vila <sanvila@debian.org>
|