Hi Jason,
Am Sun, 30 Mar 2008 21:30:51 -0400 schrieb Jason Stephenson:
> Eric Hoch wrote:
>>
>> I don't know if it's possible to build on Tiger but switching to
>> Leopard solves this problem but causes others like having
>> binaries which only run on Leopard :-) I experienced this after
>> my first Leopard build couldn't be installed on a friends Tiger
>> machine. Since we provide Aqua OOo for Tiger and Leopard you may
>> need two build environments or we need four versions of OOo. But
>> this should be discussed in a Mac Porters meeting or in a
>> seperate thread.
>
> There are ways of compiling on Leopard that will also run on
> Tiger (or even Panther). You can do this from the command line,
> too, with the proper options:
>
> SDK=/Developer/SDKs/MacOSX10.4.0.sdk
> CFLAGS= -isysroot ${SDK}
> LDFLAGS= -isysroot ${SDK} -Wl,-syslibroot,${SDK}
> ENVP= MACOSX_DEPLOYMENT_TARGET=10.3
>
> The above should build something that should run on Panther
> through Leopard, but only features of Tiger would be available on
> Tiger & Leopard. Using the 10.5 SDK and a deployment target of
> 10.4 should allow the code to run on Tiger and Leopard, and you
> should have Leopard features available on Leopard. (You'll need
> to test for these at runtime.)
This sounds good. Are you in IRC ooo-macport sometimes? I would
really be willing to give this a try and see if I am able to build
on Leopard and the build runs on Tiger. But be asured that I am
just a more or less dump user without any programming skills so
that I can only verify that it builds and runs but can't help
integrating the needed code.
OK a first run of .configure gives me:
configure: error: C compiler cannot create executables
See `config.log' for more details.
and in configure.log the error is:
configure:4826: checking for C compiler default output file name
configure:4853: gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -W
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
If you need more informations, let me know.
Eric
--
## de.OpenOffice.org - Office für MacOS X, Linux, Solaris & Windows
## Openoffice.org - ich steck mit drin!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]