Re: Compiling for i586 architecture - illegal instruction on executable

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

 



* Renato Mendes:

> Is the -march=i586 parameter the only thing needed ? Isn´t it logical
> to gcc to choose the correct 586 libraries in that case ?

Typically, there is only one set of libraries in a GCC installation,
at least for i386 targets.

> Does that Illegal instruction problem come from libraries that is
> linked using a 686 architecture ?

Probably.

> How can I tell the compiler to use the 585 libraries ?

You will have to rebuild the compiler with the appropriate flags, or
use an operating system that is compatible with the i586 architecture.
Debian should work.




[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