TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Maurice Kinal
from: Benny Pedersen
date: 2007-04-23 02:38:08
subject: Re: Fastlst compiling for pure only 64bit system

Hello Maurice!

19 Apr 07 20:08, Maurice Kinal wrote to Gert Koefoed Andersen:

 MK> make CC="gcc -m64" CFLAGS="-Os -march=amd64 -fPIC"

-m64 is needed ?

amd64 gentoo defaults to -m64

-Os why optimize on size ?

gcc have problems on some size optimizing on 64bit 

i am unsure about -fPIC but if it works :-)

 MK> If that works then you might want to add the above to your 
 MK> huskymak.cfg so that it gets it right.  Usually it is the -fPIC 
 MK> switch in CFLAGS that needs to be added to some source for pure 
 MK> 64-bit builds.  Are you using lib64 or just plain lib in your rootfs?

one should realy start makeing the gentoo ebuilds for husky :)

and default have husky 64bit lib in the build not just lib, a amd64 is
fully 32bit and 64bit capeble hardware so both can work at the same time if
one needs it :-)

windows vista 64bit is a good example on what happens when rules is not followed ...

 Regards Benny

... there can only be one way of life, and it works :)

--- Msged/LNX 6.1.2 (Linux/2.4.20-43_41.rh8.0.at (i686))
* Origin: There is no place like 127.0.0.1 if its not for (2:237/53)
SEEN-BY: 10/1 3 11/201 14/300 400 34/999 106/1 120/228 123/500 134/10 140/1
SEEN-BY: 222/2 229/4000 236/150 237/53 249/303 261/20 38 100 1404 1406 1418
SEEN-BY: 266/1413 280/1027 320/119 393/68 633/104 260 262 267 285 712/848
SEEN-BY: 751/321 800/432 2222/700 2320/111 2800/18 2905/0
@PATH: 237/53 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.