On Mon, Feb 13, 2012 at 20:47, Glenn Fowler <[email protected]> wrote:

>
> 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>
>

`bin/package make CCFLAGS=-m64' compiled successfully. Note that I'm using
gcc.


> (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?
>
>
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to