Gentoo Archives: gentoo-sparc

From: "张韡武" <zhangweiwu@××××××.com>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] 64-bit gentoo-sparc, how to make it happen?
Date: Mon, 26 Jun 2006 01:37:04
Message-Id: 1151285641.7387.21.camel@joe.realss
In Reply to: Re: [gentoo-sparc] 64-bit gentoo-sparc, how to make it happen? by "Javier O. Augusto"
1 在 2006-06-25日的 23:20 +0200,Javier O. Augusto写道:
2 > [..]
3 > >
4 > > Ah, I get a good idea (good in sense of a newbie) If most of userland is
5 > > 32bit on solaris too, the *some* applications in 64 bit are there
6 > > perhaps because they perform better in 64-bit. If gimp-print/gutenprint
7 > > package on solaris is 64-bit, that might shows Sun people think it can
8 > > be in 64-bit mode. Sadly I cannot google out the package filename for
9 > > gimp-print on solaris, usually in Linux binary package name often
10 > > indicate if it is 32-bit or 64-bit
11 > > (e.g. /suse/x86_64/libgimpprint-4.2.7-62.x86_64.rpm)
12 >
13 > 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.
14 > For compiling, install automake autogen gmake gmk4 autoconf from blastwave.org thru `pkg-get`.
15 > In your environment, set this flags before start `./configure`ing :
16 >
17 > --
18 > PATH=/opt/SUNWspro/bin:/opt/onbld/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:\
19 > /usr/sfw/bin:/usr/ccs/bin:/usr/local/enlightenment/bin:/opt/csw/bin:/usr/X11/bin:/usr/openwin/bin :/usr/ccs/bin
20 >
21 > CC=/opt/gcc/bin/gcc
22 >
23 > CFLAGS='-I/usr/local/include -I/usr/sfw/include -I/opt/csw/include -m32 \
24 > -mcpu=ultrasparc -mtune=ultrasparc -O2' <- safe mode
25 >
26 > 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'
27 >
28 > alias tar='gtar'
29 >
30 > alias make='gmake'
31 > --
32 >
33 > Don't forget to share your results.
34 >
35 > Hope this helps.. Good luck.
36
37 Thank you! I would like to try it on July when I got more free time.
38 Besides, now I am thinking people's suggestions are making good sense,
39 probably it's right the print servre would not be faster after upgraded
40 to 64-bit, because I took a glance into gutenprint source, the very part
41 of eventone dithering (which from my limited knowledge is what computer
42 busy doing for the printer) is about 700 lines of C source code, most
43 variables are defined integer, which seems would not benifit from 64-bit
44 processing. I would like to try 64-bit anyway.
45
46 Thank you for all the help.

Attachments

File name MIME type
signature.asc application/pgp-signature