[ts-gen] Compiling under OS X ppc
pippin at owlriver.net
pippin at owlriver.net
Thu Feb 8 14:21:44 EST 2007
Tony Hariman asks:
> Anybody successfully compile/run under OS X ppc ?
> I got the following error:
> ... [error text from g++ deleted]
> src/../lib/interfaces.h:16: error: 'operator new' takes type
> 'size_t' ('long unsigned int') as first parameter
> ... [more error text from g++ deleted]
I've just pushed another external release, with generalizations for some of
the typedefs in the library code, and although I haven't checked against an
OSX box, this *particular* problem is likely fixed; please feel free to see
if the new release gets past the error messages you are seeing.
You may see other problems once past this point. Please feel free to report
them as well, if you have the patience. The long term solution is for me to
check releases against a multi-platform build farm, and we're working on this,
so please also keep us posted on how well our releases, and the conversations
on this list, serve to allow you to get the shim running.
Evidently OSX and linux disagree on the size of size_t, and also the meaning
of long int, between our two boxes. The error message you reported may well
be only the tip of an iceberg; I believe the memory allocator in the shim
has some 32bit dependencies, and until I have a convenient 64bit development
platform as part of the build farm, they'll probably still be there. I'm not
sure you'll be able to get the shim running if you are running on native 64bit
hardware. Please be willing to try, however; it can only reduce the time til
we have a working port for OSX. Previous ports for BSD required only trivial
changes, although maintaining coverage has been a headache due to issues in
setting up the multi-platform build farm.
I'm delighted to see people running the shim on other platforms, and I very
much want to hear of your results, since this helps me to improve the code
quality. You are uncovering the need for fixes that improve the code for all
platforms, ours as well as yours.
Thanks for your report,
Bill
More information about the ts-general
mailing list