To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103763





------- Additional comments from cl...@openoffice.org Mon Dec 14 19:37:42 +0000 
2009 -------
> 1  On Mac OS X 10.6, OOo must be built with CC set to gcc-4.0 (and CXX set to
> g++-4.0), to not use the default gcc-4.2 there (see issue 106059).

Yes, I noticed already (see previous comment)

> 2 [OOo's build uses -isysroot with 10.4 SDK]

Yes, OOo's build requests isysroot - but I see no problem with that, as the
mozilla-build uses the same toolkit.
Or if you mean in combination with 3):
Well, 10.4 is hardcoded in mozilla as well, so the patch requests a
cross-compile, i.e. a build with a SDK set, and that in turn sitches on
Mozilla's cross-compile settings that use the 10.4 SDK by default)

> 3 [building on Snow Leopard with gcc 4.2.x]

I must admit that I never tried building with that compiler, as that doesn't
allow creating backwards-compatible (i.e. 10.4 compatible) builds.

Try to add --with-macos-sdk=<your 10.6SDK> to the configure line.

> 4 using cross-compile is necessary to make mozilla's build actually use the
cross-compile settings. But yes, using g++ was a mistake in the patch, it should
have been the CXX / CC environment variables.

The rationale is that without cross compile, mozilla's makefile would not honour
the cross-compile settings, the compile would not use the SDK.

So when not using crosscompile/the --target switch, you would need to inject
OOo's flags into those of mozilla and that would be a bigger patch.

And yes, the explicit intel/pcc/universal targets are meant to create universal
binaries and just re-use the defaults. When not specifying anything, the default
zip target will build the correseponding zip_<arch> target.

long story short: gcc and g++ hardcoded is wrong, should be $(CC) $(CXX) from
enviroment. See also desc #16

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to