1 |
[..] |
2 |
> |
3 |
> Ah, I get a good idea (good in sense of a newbie) If most of userland is |
4 |
> 32bit on solaris too, the *some* applications in 64 bit are there |
5 |
> perhaps because they perform better in 64-bit. If gimp-print/gutenprint |
6 |
> package on solaris is 64-bit, that might shows Sun people think it can |
7 |
> be in 64-bit mode. Sadly I cannot google out the package filename for |
8 |
> gimp-print on solaris, usually in Linux binary package name often |
9 |
> indicate if it is 32-bit or 64-bit |
10 |
> (e.g. /suse/x86_64/libgimpprint-4.2.7-62.x86_64.rpm) |
11 |
|
12 |
You can try installing Solaris 10 Community Release (SXCR) on your box, then go after GCC-4.1 from Sun Downloads. This includes SPARC optimizations out of the box. Don't forget to read GCC docs about compiling on SPARC for better understanding flags differences. |
13 |
For compiling, install automake autogen gmake gmk4 autoconf from blastwave.org thru `pkg-get`. |
14 |
In your environment, set this flags before start `./configure`ing : |
15 |
|
16 |
-- |
17 |
PATH=/opt/SUNWspro/bin:/opt/onbld/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:\ |
18 |
/usr/sfw/bin:/usr/ccs/bin:/usr/local/enlightenment/bin:/opt/csw/bin:/usr/X11/bin:/usr/openwin/bin :/usr/ccs/bin |
19 |
|
20 |
CC=/opt/gcc/bin/gcc |
21 |
|
22 |
CFLAGS='-I/usr/local/include -I/usr/sfw/include -I/opt/csw/include -m32 \ |
23 |
-mcpu=ultrasparc -mtune=ultrasparc -O2' <- safe mode |
24 |
|
25 |
LDFLAGS='-L/usr/local/lib -L/usr/sfw/lib -L/opt/csw/lib -R/usr/local/lib -R/usr/sfw/lib -R/opt/csw/lib' |
26 |
|
27 |
alias tar='gtar' |
28 |
|
29 |
alias make='gmake' |
30 |
-- |
31 |
|
32 |
Don't forget to share your results. |
33 |
|
34 |
Hope this helps.. Good luck. |
35 |
|
36 |
-- |
37 |
Javier O. Augusto - <javier.augusto@×××.net> |
38 |
|
39 |
|
40 |
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... |
41 |
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail |
42 |
-- |
43 |
gentoo-sparc@g.o mailing list |