From: Kai T. <Kai...@on...> - 2006-09-22 09:48:25
|
Hallo all, To ease the further discussion and, I append to this mail my prototype patch version of the x86_64-pc-mingw64 port for the gcc.4.1.1 . Of course it is all but not complete and more to treat as a suggestion, but it is allready useable to cross compile sources and to produce target executable applications in combination with the binutils for this new target. The patch includes the changes to the make-files and the gcc/config/i386 target-configuration files. In most places it reuses the pe & mingw-support allready present. The main difference are the usage of the x86_64 cpu code generation, definition of the "long long" type as 16 byte integer (in i386.c), the enforced usage of dwarf2 debugging information, some assembly translations (e.G. cygwin64.asm) , and the introduction of some new predefined macros I list below. Additionally the linker-spec and and STANDARD_INCLUDE_DIR are set to new values for this target to not interferre. The new predefined macros are __MINGW64__, _WIN64,_NATIVE_WCHAR_T_DEFINED,_WCHAR_T_DEFINED,_INTEGRAL_MAX_BITS=64,WIN64, and WINNT64. To build, it do the following steps. 1) Patch the gcc 4.1.1 2) Enter into the src dir and create a build-directory. 3) Enter into it and configure it via "../configure --target=x86_64-pc-mingw64 --disable-nls --without-headers --with-newlib" 4) Build it by using the command "make all-gcc". And then may install it by the command "make install-gcc" May this helps, Regrads, i.A. Kai Tietz |