Compile for different machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tried to compile code for i686 instructions set under my AMD x64 in gcc 4.6.
Specified -march=i686.
Obtained "error: CPU you selected does not support x86-64 instruction set"
Why?
Full options line is:
export CC=$(compiler) -O3 -finline-limit=100000 --param
inline-unit-growth=10000 --param large-function-growth=100000 \
  --param large-function-insns=47000 -march=i686 -Wall
-Wno-format-security $(GCC_VER_MORE_45_NO_UNUSED_RET) --param
large-stack-frame=65536 \
  --param large-stack-frame-growth=3000 $(explicit_templates) -pg

-- 
Kind regards,
Sergey Ivanov


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux