[hatari-devel] Crosscompiling Hatari for GP2X Wiz

Thomas Huth huth at users.berlios.de
Mon Mar 28 18:35:58 CEST 2011


Am Sun, 27 Mar 2011 18:50:18 +0300
schrieb Eero Tamminen <oak at helsinkinet.fi>:

> Hi,
> 
> On sunnuntai 27 maaliskuu 2011, Matthias Arndt wrote:
> > I'm interested in crosscompiling Hatari for a different target
> > platform, notably GP2X Wiz.
> > 
> > How can I control which actuall gcc compiler is used?
> > I basically need to tweak a few compile settings:
> > - use a different GNU Toolchain (for the main compile)
> > - disable a lot of PC specific libs (AVI, audio recording, etc.)
> > - inject my own defines into the build to de/activate
> > functionalities
> 
> Just edit the CMake configuration variables with ccmake (ncurses UI).

No, for configuring a cross-compilation toolchain, that's maybe not
enough. Have a look at this URL, it describes how to set up a cross
compilation toolchain with CMake:

 http://www.cmake.org/Wiki/CMake_Cross_Compiling

Thomas



More information about the hatari-devel mailing list