its all based on what cc does
if cc hello.c generates 32 bit objects then the architecture is 32 bit
you can change the default behavior at least these 2 ways:

(1) bin/package nmake CCFLAGS=<options-to-generate-64-bit-objects>
(2) provide a $INSTALLROOT/bin/cc intercept script that does the 64 bit 
incantations

I prefer (2) because with (1) if you forget CCFLAGS the next time it will mix 
up the build
and it also maintains consistency if you do subsequent builds with nmake

On Mon, 13 Feb 2012 20:02:55 -0800 Clark J. Wang wrote:
> --===============2052862293==
> Content-Type: multipart/alternative; boundary=20cf3040e37aa2c63304b8e4ac81

> --20cf3040e37aa2c63304b8e4ac81
> Content-Type: text/plain; charset=UTF-8

> On Mon, Feb 13, 2012 at 17:51, Finnbarr Murphy <[email protected]> wrote:

> >
> > Solaris 11 is a 64-bit OS for both SPARC and x86.  There is no 32-bit
> > version.
> >
> > For some reason you appear to be trying to build a 32-bit version, i.e.
> > sol11.i386.
> > I would have expected to see sol11.i386-64.
> >

> I did not explicitly ask it to compile in 32-bit mode. How can I force it
> to build 64-bit version?

> >
> > > + /bin/cp /root/tmp/ksh-20120202/src/cmd/ksh93/fun/pushd
> > /root/tmp/ksh-20120202/arch/sol11.i386/fun/pushd
> > > + chmod ugo+x /root/tmp/ksh-20120202/arch/sol11.i386/fun/pushd
> >
> >
> >
> >
> > _______________________________________________
> > ast-users mailing list
> > [email protected]
> > https://mailman.research.att.com/mailman/listinfo/ast-users
> >

> --20cf3040e37aa2c63304b8e4ac81
> Content-Type: text/html; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable

> <font><font face=3D"arial,helvetica,sans-serif"></font></font>On Mon, Feb 1=
> 3, 2012 at 17:51, Finnbarr Murphy <span dir=3D"ltr">&lt;<a href=3D"mailto:f=
> [email protected]">[email protected]</a>&gt;</span> wrote:<br><div 
> class=3D"gmai=
> l_quote">

> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
> x #ccc solid;padding-left:1ex"><br>
> Solaris 11 is a 64-bit OS for both SPARC and x86.=C2=A0 There is no 32-bit =
> version.<br>
> <br>
> For some reason you appear to be trying to build a 32-bit version, i.e. sol=
> 11.i386.<br>
> I would have expected to see sol11.i386-64.<br></blockquote><div><br>I did =
> not explicitly ask it to compile in 32-bit mode. How can I force it to buil=
> d 64-bit version? <br></div><blockquote class=3D"gmail_quote" style=3D"marg=
> in:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
> x">

> <div class=3D"im"><br>
> &gt; + /bin/cp /root/tmp/ksh-20120202/src/cmd/ksh93/fun/pushd /root/tmp/ksh=
> -20120202/arch/sol11.i386/fun/pushd<br>
> &gt; + chmod ugo+x /root/tmp/ksh-20120202/arch/sol11.i386/fun/pushd<br>
> <br>
> <br>
> <br>
> <br>
> </div>_______________________________________________<br>
> ast-users mailing list<br>
> <a href=3D"mailto:[email protected]";>[email protected]</a=
> ><br>
> <a href=3D"https://mailman.research.att.com/mailman/listinfo/ast-users"; tar=
> get=3D"_blank">https://mailman.research.att.com/mailman/listinfo/ast-users<=
> /a><br>
> </blockquote></div><br>

> --20cf3040e37aa2c63304b8e4ac81--

> --===============2052862293==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline

> _______________________________________________
> ast-users mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-users

> --===============2052862293==--

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to