Hi folks,
I'm a complete ignorant in architectures, as my experience is only
limited to Intel PC's.
So, I'd like to ask: I have a Pentium M ( INTEL Centrino) and would
like to know if is there any GCC directive that allow me to generate
x86_64 binaries?
thanks in advance
--
Eduardo Patto Kanegae
http://www.webmapit.com.br
Eduardo Patto Kanegae wrote on 12/13/2006 12:32 PM:
Hi folks,
I'm a complete ignorant in architectures, as my experience is only
limited to Intel PC's.
So, I'd like to ask: I have a Pentium M ( INTEL Centrino) and would
like to know if is there any GCC directive that allow me to generate
x86_64 binaries?
thanks in advance
Hi,
I use:
#############
# Pentium 64bit flags
# don't optimize to keep -g functional
PENTIUM64="-mtune=nocona -m64 -minline-all-stringops"
# some flags to catch all possible problems:
MYCFLAGS="-g -Wall -Werror-implicit-function-declaration -fno-common
$PENTIUM64"
MYCXXFLAGS="-g -Wall"
# RHEL 4/64bit:
CFLAGS="$MYCFLAGS" CXXFLAGS="$MYCXXFLAGS" ./configure \
--enable-64bit \
--with-libs=/usr/lib64 \
--with-cxx \
...
and
#############
# XEON flags
# don't optimize to keep -g functional
XEON="-mcpu=nocona -mtune=nocona -m64 -minline-all-stringops"
# some flags to catch all possible problems:
MYCFLAGS="-g -Wall -Werror-implicit-function-declaration -fno-common $XEON"
MYCXXFLAGS="-g -Wall"
# RHEL 4/64bit:
CFLAGS="$MYCFLAGS" CXXFLAGS="$MYCXXFLAGS" ./configure \
--enable-64bit \
--with-libs=/usr/lib64 \
--with-cxx \
...
Hope this helps (maybe there are better flags),
Markus