FAQ compile flags for 64 bit issue
Posted: 24 Oct 2015, 05:20
Hi
The FAQ for compiling links to slax 32 bit so I wonder why I can't see a FAQ for 64 bit compiling?
Also I did do a fairly fast search of this forum, using the search term "march=x86-64" without the quotes and found some potential conflicts.
Naturally I am standing in the naughty corner as I type this and am happy to declare my knowledge of slackbuilds is limited.
2) configure options also please
Below is trivia if interested
#########################
So here goes search results show
http://forum.porteus.org/viewtopic.php? ... 6+64#p2625
Which suggests look at the flags here
http://ftp.heanet.ie/mirrors/ftp.slackw ... SlackBuild
but I also found
http://forum.porteus.org/viewtopic.php? ... 6+64#p6689
So I am confused on whether to build with Os or O2 .....the answer I am sure will delight me
thanks for reading
The FAQ for compiling links to slax 32 bit so I wonder why I can't see a FAQ for 64 bit compiling?
Also I did do a fairly fast search of this forum, using the search term "march=x86-64" without the quotes and found some potential conflicts.
Naturally I am standing in the naughty corner as I type this and am happy to declare my knowledge of slackbuilds is limited.
2) configure options also please
Below is trivia if interested
#########################
So here goes search results show
http://forum.porteus.org/viewtopic.php? ... 6+64#p2625
Which suggests look at the flags here
http://ftp.heanet.ie/mirrors/ftp.slackw ... SlackBuild
Minor edit to remove \ and extra lines to configure line above.SLKCFLAGS="-O2 -fPIC"
CFLAGS="$SLKCFLAGS"
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/man
but I also found
http://forum.porteus.org/viewtopic.php? ... 6+64#p6689
Minor edit to create new lines to above quote boxhere is the config for 64bits:
CFLAGS="-Os -march=x86-64"
CXXFLAGS="-Os -march=x86-64"
MAKEOPTS="-j2"
./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib64 --enable-runtime-cpudetection --yasm=''
So I am confused on whether to build with Os or O2 .....the answer I am sure will delight me
thanks for reading