[dev] Re: Mac OS X Snow Leopard and 64bit...

2011-04-04 Thread Pavel Laštovička

Hi,

I think that using 10.4 SDK is required to build a working OO.o. I cannot remember now, it 
has been a few months since I built on Mac (it was 3.2.1). I tried to build OO.o with 10.6 
SDK and gcc 4.2.1 and OO.o then crashed during smoketest.


Pavel

Dne 1.4.2011 18:56, Pavel Janík napsal(a):

Hi,

On 1.4.2011, at 15:02, Christian Lohmaier wrote:


Building 32bit version, but not targeting 10.4 is a waste of
ressources IMHO. Why would you want to create builds that won't run on
the baseline system?


I'd like the build to be extended with:

- autodetecting the lowest available SDK. It is nonsense to hardcode 10.4u for 
people, who:

a. have default Xcode install (ie. no 10.4u)
b. want to build for themself only
c. want to save diskspace and do not install 10.4u ;-)

- 64bit build

Both are interesting I think.


--
Pavel Laštovička, Developer  OpenOffice.org Specialist

blue.point Solutions, s. r. o.
tel: +420 777 301 879
fax: +420 412 510 182
Jabber: pavel.lastovi...@blue-point.cz
http://www.blue-point.cz

IBM Business Partner - Novell Business Partner - Software602 Business Partner
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Mac OS X Snow Leopard and 64bit...

2011-04-04 Thread Christian Lohmaier
Hi Pavel, *,

2011/4/4 Pavel Laštovička pavel.lastovi...@blue-point.cz:

 I think that using 10.4 SDK is required to build a working OO.o.

Yes, but that is because it is enforced by the configure and
buildscripts, not because of the actual sourcefiles. Those would
surely work with a 10.6 SDK as well (well, maybe you get some foo is
deprecated warnings).

 I cannot
 remember now, it has been a few months since I built on Mac (it was 3.2.1).
 I tried to build OO.o with 10.6 SDK and gcc 4.2.1 and OO.o then crashed
 during smoketest.

You most likely didn't catch all occurrences that need to be adjusted
(a few external modules have it set as well), and smoketest crashing
is not something very reliable anyway (unless you're building the
exact same milestone).

Personally I'm still against relaxing this requirement though.
Developers will almost everytime have more recent OS/Buildenvironment
than 10.4, thus you will get 10.5/6'isms into the code that will break
10.4 compatibility.

Thus when allowing to build with 10.6 as SDK, you're starting the
countdown to remove 10.4 support. It is not that OOo would have tons
of dedicated Mac programmers that can maintain different codepaths for
10.4 and 10.5 and even a third for 10.6.

I mean even tha java awt one is still unfixed. It is hackarounded so
that the OOo-supplied beanshell editor/debugger can now be launched,
but external extensions are out of luck.
The python-question remained without decision (system 2.3 and not
being able to use pyuno from outside OOo or ship with interal python)
- not even all patches have been applied, let alone taking a decision.

But I put my personal focus on LibreOffice anyway (but still run the
OOo-MacPPC tinderbox, thus I'll build OOo until it is no longer
possible, but I'm no longer actively dealing with the now
more-frequent-again build-issues on the milestones - if it breaks, it
breaks. If I'm pointed to a patch, I'll apply it, but I won't hunt for
the reasons myself anymore)

Also telling enough that while the mac@porting list was initially
addressed as well, the discussion only continues on dev@porting...

The people want to save diskspace argument was written with a
smiley, but be honest - when building a beast like OOo, and thus you
have to dedicate 8GB for building anyway, you can spare that few megs
for the 10.4u sdk, can't you?. As far as I know there is no separate
XCode that doesn't include the 10.4u SDK, thus you just have to rerun
the installer to install it.

my 0,02€

ciao
Christian
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Mac OS X Snow Leopard and 64bit...

2011-04-02 Thread Michael Sicotte
Hi,

On Apr 1, 2011, at 11:56 AM, Pavel Janík wrote:
 
 I'd like the build to be extended with:
 
 - autodetecting the lowest available SDK. It is nonsense to hardcode 10.4u 
 for people, who:
 
  a. have default Xcode install (ie. no 10.4u)
  b. want to build for themself only
  c. want to save diskspace and do not install 10.4u ;-)
 
 - 64bit build
 
 Both are interesting I think.

+1
Mike Sicotte

--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Mac OS X Snow Leopard and 64bit...

2011-04-01 Thread eric b


Le 1 avr. 11 à 09:21, Pavel Janík a écrit :


Hi,




Hi Pavel,



do we have a plan to support building OOo on Mac OS X Snow Leopard?




Unfortunaly, not me :  I have no machine running it (nor 10.5  
either), and I'll stick to Tiger as long as possible.



Just a wild guess, but if things continue the current way, it is not  
ridiculous to imagine Apple switching to ARM architecture (like MS  
will do)



It has 64bit kernel, ie. platform is x86_64, by default doesn't  
come with 10.4u SDK (you have to install it, it is optional in  
Xcode optional install ;-), has 32bit and 64bit producing gccs (gcc  
4.0 is producing 32bit and gcc 4.2.1 is producing 64bit binaries.  
The default one is 4.2.1, but OOo is not ready for 64bit on Mac OS  
X yet) etc.



Do you have a list of what has to be done ?  Probably at least a new  
bridge, but maybe something else ?






I put a rough hacks which I use to build 32bit OOo on Snow Leopard to

http://tmp.janik.cz/OOo/snowleopard/snowleopard.diff




Indeed you should install the missing 10.4 SDK  :-)



In addition to this, I build with:

export CC=ccache /usr/bin/gcc-4.0
export CXX=ccache /usr/bin/g++-4.0




Regards,
Eric





--
qɔᴉɹə
Education Project:
http://wiki.services.openoffice.org/wiki/Education_Project
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.org/news





--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Mac OS X Snow Leopard and 64bit...

2011-04-01 Thread Christian Lohmaier
Hi Pavel,

2011/4/1 Pavel Janík pa...@janik.cz:

 do we have a plan to support building OOo on Mac OS X Snow Leopard?

It is suppoerted to build /on/ Snow Leopard.

 It has 64bit kernel, ie. platform is x86_64, by default doesn't come with
 10.4u SDK (you have to install it, it is optional in Xcode optional install
 ;-),

Yes, that's the crucial point.

 I put a rough hacks which I use to build 32bit OOo on Snow Leopard to

Building 32bit version, but not targeting 10.4 is a waste of
ressources IMHO. Why would you want to create builds that won't run on
the baseline system?

ciao
Christian
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Mac OS X Snow Leopard and 64bit...

2011-04-01 Thread Pavel Janík

Hi,

On 1.4.2011, at 15:02, Christian Lohmaier wrote:


Building 32bit version, but not targeting 10.4 is a waste of
ressources IMHO. Why would you want to create builds that won't run on
the baseline system?


I'd like the build to be extended with:

- autodetecting the lowest available SDK. It is nonsense to hardcode  
10.4u for people, who:


  a. have default Xcode install (ie. no 10.4u)
  b. want to build for themself only
  c. want to save diskspace and do not install 10.4u ;-)

- 64bit build

Both are interesting I think.
--
Pavel Janík


--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help