On 7/26/06, Angus Leeming <[EMAIL PROTECTED]> wrote:
Andreas Vox <[EMAIL PROTECTED]> writes:
> Now I tried to compile Lars's unicode branch on Mac but found out there are
> some configure (scons) quirks:
> * it didn't set HAVE_MKSTEMP and some other vars automatically
> * it didn't add -framework CoreFoundation -framework Carbon to the final
>   link page
>
> Any hints how to fix that?

Welcome back, Andreas!

I suggest that you ping Bo Peng.

It would be nice if I can have access to a mac so that I can port
scons to it... but now, you will have to be on your own. :-(

The problems you mentioned do not look difficult though.
1.  it didn't set HAVE_MKSTEMP and some other vars automatically

Strange. line 1004 of sconstruct, I do have a test for HAVE_MKSTEMP.
Please check config.log and see if it has actually been tested.

2. it didn't add -framework CoreFoundation -framework Carbon to the final
>   link page

I have no idea what you meant, and I am kind of surprised that scons
does not do that for us. If you only need to add some link option,
add, for example to line 500, with something like:

if platform_name == 'mac':
   LINKFLAGS_required.extend(['opt1', 'opt2'])

Bo

Reply via email to