[Ekiga-devel-list] Cross-compiling made easy



Hi,

here is how I can easily build some things by hand to test wild things, once I have run Kilian's cross-compilation script.

I use a file I named "cross-compiling", like this :
$ . ~/Projets/cross-compiling
(at that point, the shell is spoilt for anything else than win32-work)
$ ./configure --host=$HOST --some-switch --other-switch
$ make

Notice you'll have to update the file a little to make it work.

Snark

PS: here is "cross-compiling" :
export CC="i586-mingw32msvc-gcc -mms-bitfields"
export CXX="i586-mingw32msvc-g++ -mms-bitfields"
export LD=i586-mingw32msvc-ld
export NM=i586-mingw32msvc-nm
export AR=i586-mingw32msvc-ar
export AS=i586-mingw32msvc-as
export RANLIB=i586-mingw32msvc-ranlib
export DLLTOOL=i586-mingw32msvc-dlltool
export DLLWRAP=i586-mingw32msvc-dllwrap
export OBJDUMP=i586-mingw32msvc-objdump
export WINDRES=i586-mingw32msvc-windres
export STRIP=i586-mingw32msvc-strip
export PKG_CONFIG_LIBDIR="/home/jpuydt/Ekiga/win32/ekiga_win32_build/lib/pkgconfig" export PKG_CONFIG_PATH="/home/jpuydt/Ekiga/win32/ekiga_win32_build/lib/pkgconfig"
export HOST=i586-mingw32msvc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]