Charles Wright <charles at asc.edu> wrote:
> I noticed that by default gcc on opensolaris generates 32-bit code even if
> opensolaris is running the 64-bit kernel
>
> I have confirmed I can make a 64-bit binary with
> export CFLAGS=-m64
> export CPPFLAGS=-m64
>
> Is there a way to make it so gcc makes 64-bit binaries by default?
> Thanks.
What applications are you thinking of?
Most Solaris user space applications are not 64 bit clean.
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily