|
From: Franco B. <fra...@gm...> - 2000-12-06 07:44:56
|
Am Fre, 01 Dez 2000 schrieb Edmund Ng: >Hi folks, > >I was just wondering for those of you who do both cross compile and >native compile... >Is there a difference between the compilation process for a cross >compile from UNIX to NT and a native compile on NT. I would guess that >the make files are the same. Is that correct? You can build makefiles that work both for native-compile and cross-compile, You just must not use any Unix-specific, nor Windows specific tools/commands. Also the syntax of shell/command.com/cmd.exe for-loops differs so much that you cannot use for-loops in your Makefile neither. Another point is how You installed your cross-compiler and cross-tools. Usuallly the cross-gcc is invoced "i386-mingw32-gcc", but the native one just "gcc". Ciao, Franco |