Win64 C & ASM

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
CopperMan

Re:Win64 C & ASM

Post by CopperMan »

To: Solar

It'll be very pleasant if you add to OS-FAQ this topic.
So other people would use this.

Thanks for a link.
CopperMan

Re:Win64 C & ASM

Post by CopperMan »

Some fixable errors when U build GCC :

1) error : config/i386/biarch64.h : no such file or directory
... and several others.

workaround :
copy config folder from source package gcc/config (whole directory) to $your_configure_dir/gcc
this should fix this.

2) error : defaults.h : no such file or directory

workaround :
copy defaults.h from source package gcc/ to $your_configure_dir/gcc

3) error : link tests are not allowed after GCC_NO_EXECUTABLES.

workaround only for NATIVE CROSS :
this is a bug of libstdc++-v3/configure.ac, at this stage $build != $host. Becoz of that configure disallows link tests.
apply attached patch to libstdc++-v3/configure.ac (works with GCC-4.0.0 and GCC-4.0.1).
with Canadian cross this error should not occur.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Win64 C & ASM

Post by Solar »

CopperMan wrote: It'll be very pleasant if you add to OS-FAQ this topic.
There already is, and yesterday I replaced a dead link to ELF docu with the one I gave above. ;)
Every good solution is obvious once you've found it.
Post Reply