This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc options to use


Hi,

I am compiling some libs and binaries for core2 duo cpu machines.
The gcc version is 4.3.3 and the arguments I use are:

x86_64-unknown-linux-gnu-gcc -m64 -march=core2 -mtune=core2 bla bla.
When I read the compiled bin with readelf it reports this:

Class: ELF64
Machine: Advanced Micro Devices X86-64
Etc etc.

I guess this is alright....?
Kind Regards,

Reinoud.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]