[phc-general] auto{conf,make} portability patch

Paul Biggar paul.biggar at gmail.com
Sat Dec 30 17:02:12 CET 2006


On 12/30/06, Edsko de Vries <edsko at phpcompiler.org> wrote:
> First of, thanks for your long bug report. However, I have actually
> build phc on Mac OS X, without difficulties. You are right in saying
> that -rdynamic is not recognised by gcc, but I found that it simply
> ignores it, rather than trowing up an error and aborting compilation -
> which is why I haven't bothered so far to remove it (as far as I
> remember, on the Suns, -rdynamic is unnecessary too, but also ignored).
> Did gcc on your Mac actually stop compilation, or just complain error
> and continue? Of course, not checking if -rdynamic is required was just
> laziness on my part, so now that you've done the work, I'll gladly apply
> the patch :-)

It would be great if we integrate libtool into our tool chain. It
handles the -rdynamic problem on all platforms, as I understand it,
and also avoids the problem of dlopen not being supported on all
platforms (esp. Cygwin, where plugins, AFAIK, only work with libltdl).
If my autotools-foo was up to it yet, I'd have made the changes, but
hopefully I'll get around to it in the near future. Unless Conor
want's to take this off my hands....?


> The test framework has actually changed quite a bit since then, and Paul
> has already integrated configure with the tests (the tests now include
> an autovars.php, generated from autovars.php.in by configure) - so don't
> bother for the moment. If the new release (or I could send you a
> pre-release if you want) still doesn't solve these problems, let us know.


Yes, this is fixed.


Paul

-- 
Paul Biggar
paul.biggar at gmail.com



More information about the phc-general mailing list