sparc optflags
Tomasz Mateja
tommat at pimpek.one.pl
Sun Mar 16 15:27:54 CET 2008
Tomasz Mateja pisze:
> Andrzej Krzysztofowicz pisze:
>> To by trzeba zmienic arch na sparc64 dla tego pakietu.
> no wlasnie nie wiem, -m32 -mcpu=v9 powinno generowac 32bitowy kod
[builder at moon src]$ gcc -m32 -mcpu=v9 test.c -o test
[builder at moon src]$ file test
test: ELF 32-bit MSB executable, SPARC32PLUS, V8+ Required, version 1
(SYSV), for GNU/Linux 2.6.12, dynamically linked (uses shared libs), not
stripped
[builder at moon src]$ ./test
Hello world
[builder at moon src]$ uname -m
sparc
--
T.
More information about the pld-devel-pl
mailing list