Modify i586-mingw32msvc,i686-none-linux-gnu for 64 bit target.

Tim Miller rellimt@gmail.com
Mon Oct 26 16:28:00 GMT 2015


Using menuconfig I am trying to change the sample configuration to
generate code for 64 bit Linux targets (I swear to God they are making
me do it!). I tried the following:

1. Change bitness to 64
< CT_ARCH_32=y
< # CT_ARCH_64 is not set
< CT_ARCH_BITNESS=32
---
> # CT_ARCH_32 is not set
> CT_ARCH_64=y
> CT_ARCH_BITNESS=64

[ALL  ]    CPU given in --with-arch=i686 doesn't support 64bit mode.

2. change 'Architecture level" to x86_64.

< CT_ARCH_ARCH="i686"
---
 CT_ARCH_ARCH="x86_64"

[ALL  ]    Unknown CPU given in --with-arch=x86_64.

3. add arch suffix
< CT_ARCH_SUFFIX="_64"

[00:00] / Invalid configuration `x86_64_64-none-linux-gnu': machine
`x86_64_64-none' not recognized

4. remove 2, 3 change host, change toolchain Tuple to i686-w64-mingw32

[ALL  ]    CPU given in --with-arch=i686 doesn't support 64bit mode.

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list