[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] Re: new starter

From: Dave Cuthbert
Subject: [Devel] Re: new starter
Date: Tue, 17 Feb 2004 13:06:01 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040204 NETSCAPE 7.0

Werner LEMBERG wrote:
I downloaded freetype-2.1.4.tar.gz file and have compiled it on the
Solaris 8 machine.  By default it compile the library on 32 bit.  My
question is how can I make it to compile for the Solaris-8 64 bit

I have no idea, but I assume that you have to pass an option to the
compiler and/or link with a specific library:

  ./configure CFLAGS="..." LDFLAGS="..."

Specifically, if you are using the SunPro compiler, you want to add -xarch=v9 to CFLAGS (and maybe -xcode=pic32 for good measure).

-xarch must be specified after -xtarget (-xtarget will reset -xarch). But you really don't want to mess with -xtarget unless you're doing seriously heavy number crunching.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]