Help on the OS specific toolchain
Posted: Mon Jan 26, 2015 4:53 am
Hi again
I followed the tutorial on building the GCC cross compiler and the OS specific toolchain. But when I try to build binutils, make gives me an error:
I think the problem originated from bfd/config.bfd. The tutorial says add these lines:
which I added exactly, with the hange of myos to the name of my os, right?
The configure scipt ran with no errors. I am trying to build from binutils 2.25 and gcc 4.9.2, on a 64bit Fedora Linux host.
Any idea about how to solve this? I pulled my hair out trying to figure what the problem is.
many thanx
I followed the tutorial on building the GCC cross compiler and the OS specific toolchain. But when I try to build binutils, make gives me an error:
Code: Select all
configure: error: *** unknown target vector bfd_elf32_i386_vec
make[1]: *** [configure-bfd] Error 1
make[1]: Leaving directory `/home/MIMA/src/detour-build-binutils'
make: *** [all] Error 2
Code: Select all
i[3-7]86-*-myos*)
targ_defvec=bfd_elf32_i386_vec
targ_selvecs=
targ64_selvecs=bfd_elf64_x86_64_vec
;;
#ifdef BFD64
x86_64-*-myos*)
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs=bfd_elf32_i386_vec
want64=true
;;
#endif
The configure scipt ran with no errors. I am trying to build from binutils 2.25 and gcc 4.9.2, on a 64bit Fedora Linux host.
Any idea about how to solve this? I pulled my hair out trying to figure what the problem is.
many thanx