[Libreoffice] x68_64 Darwin Patch

Rene Engelhard rene at rene-engelhard.de
Tue Oct 5 00:54:24 PDT 2010


On Mon, Oct 04, 2010 at 08:44:08PM -0700, Joseph Powers wrote:
> {
>           print "Setting values for Mac OS X/Darwin on x86... ";
>           $outfile        = "MacOSXX86Env.Set"; 
>           $CPU            = "I";
>           $CPUNAME        = "INTEL";
>           $OUTPATH        = "unxmacxi";
> }

which imho is broken, sorry. (Unless you make it build 32bit binaries).
Unless you do something special I think it'll create 64bit binaries...

> I believe that we might need to change it to something like the following if we ever want to support a 64bit build on Mac:
> {
>           print "Setting values for Mac OS X/Darwin on x86... ";
>           $outfile        = "MacOSXX86_64Env.Set"; 
>           $CPU            = "X";
>           $CPUNAME        = "X86_64";
>           $OUTPATH        = "unxmacxx";
> }

Correct.

> However, I don't think the rest of the build system would handle that very well.

Yeah, I guess you need adaptions here and there as well (e.g. in solenv and
stuff checking for $OS and $CPUNAME.

Grüße/Regards,

René


More information about the LibreOffice mailing list