Cross Compiling for win32
Posted: Thu Dec 30, 2010 11:24 pm
Running ubuntu 9.04, trying to create a cross-compile toolchain for 32-bit Windows target.
Looking at the options available, what would be the best/most robust/recommended method:
1) Follow the tutorial at: http://wiki.osdev.org/OS_Specific_Toolchain
2) Follow the steps here: http://wiki.osdev.org/GCC_Cross-Compiler
3) Try the 'boomstick' method: http://wiki.osdev.org/Boomstick
Second, what would be the proper target specification (cpu-platform-os) for the building process.
Would it be something like, "i586-elf-gcc"? "i686-ia32-gcc"?
Third, I have downloaded binutils-2.21, gcc-4.5.2, and glibc-2.12.2.
Should I avoid these in favor of binutils-2.20.1 and gcc-4.5.1 as per the table: http://wiki.osdev.org/Cross-Compiler_Successful_Builds
Thanks.
Looking at the options available, what would be the best/most robust/recommended method:
1) Follow the tutorial at: http://wiki.osdev.org/OS_Specific_Toolchain
2) Follow the steps here: http://wiki.osdev.org/GCC_Cross-Compiler
3) Try the 'boomstick' method: http://wiki.osdev.org/Boomstick
Second, what would be the proper target specification (cpu-platform-os) for the building process.
Would it be something like, "i586-elf-gcc"? "i686-ia32-gcc"?
Third, I have downloaded binutils-2.21, gcc-4.5.2, and glibc-2.12.2.
Should I avoid these in favor of binutils-2.20.1 and gcc-4.5.1 as per the table: http://wiki.osdev.org/Cross-Compiler_Successful_Builds
Thanks.