building VNC 3.3.7 on 64-bit Solaris 9

Peter C. Vernam pvernam "at"
Tue Apr 27 19:39:00 2004

At 10:51 AM 4/26/2004, Dave Love wrote:
>"Peter C. Vernam" <pvernam "at"> writes:
> > Can anyone tell me what I have to do to get "make World" to generate
> > Makefiles that say "AS = /usr/ccs/bin/as -xarch=v9"?  Or is there
> > another way to get this to work?
>Why do you want to, i.e. what advantage do you think there is to the
>64-bit application?

I don't want to -- I HAVE to.  The machine is a Sun Fire V240 and,
when installing Solaris 9, I am not even given the option of installing
a 32-bit kernel.  So I get a 64-bit kernel, and therefore gcc 3.2 does
64-bit compiles by default.  I could try specifying "gcc -m32" to make
it do 32-bit compiles (although I've never been able to get that to work
properly), but then I'd have the inverse problem of getting "make World"
to generate Makefiles that say "CC = gcc -m32 -fpcc-struct-return"
instead of "CC = gcc -fpcc-struct-return".

Peter Vernam			Email:	pvernam "at"
Draper Laboratory, MS 33	Voice:	617-258-2735
555 Technology Square		Fax:	617-258-2705
Cambridge, MA 02139