David Aldrich wrote: > I want to use the GCC 4.1.2 compiler to compile .cpp files for a single executable to run on both 64-bit x86 (Intel Core 2) and Athlon64 machines. I am having difficulty identifying the correct options from the documentation. > > Would the following options be suitable? > > CXXFLAGS+=-m64 > CXXFLAGS+=-march=x86-64 > CXXFLAGS+=-mtune=generic -m64 is enough. Andrew.