On Mon, 5 Mar 2012 09:13:54 -0800 (PST) Derek Newhall wrote:
> =A0 ast-ksh.2011-02-08.darwin.i386/arch/darwin.i386/bin/ksh.2011-02-08.darw=
> in.i386: Mach-O 64-bit executable x86_64=0A=0ATo get the compiler to create=
> a 32-bit executable all you need to do is pass -m32 to GCC.
thanks for the pointers on darwin.i386 vs darwin.i386-64 hosttypes
the hosttype is determined by the bin/package script
and it needs some more tweaking to differentiate 32 vs 64
> 0A=0AThis also=
> illustrates a problem with using nmake as a build tool.
> If anyone wants to=
> try and download the source and compile for 32-bits they need to first dow=
> nload and run nmake, but in this case nmake has the same binary incompatibi=
> lity that prevents the original release to not run.
this is incorrect
the only things required to bootstrap build ksh93 and nmake from src are
a working /bin/sh and c compliation system (cc ar and yacc depending on the
package)
search the download site documentation for "Mamfile" to see the details
you should be able to build 32 bit darwin binaries from src using
bin/package read
bin/package make CC='gcc -m32'
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers