On Thu, Jul 5, 2012 at 10:03 AM, Peter W. Draper
<[log in to unmask]> wrote:
> Which I tend to leave alone, simply as that makes merging less hassle.
I was thinking more along the lines of stopping it installing the
fitsio headers into astrotcl. They aren't helping since we are linking
against a newer cfitsio anyhow.
> I've pushed some updates to the code synthesis headers and updated the
> generated code. Have a go with those (the setg fix was included). I don't
> think an update to Xerces is needed, but try one if you like.
Thanks. clang++ compiles everything properly now.
>> My final problem is that libtool doesn't understand that clang++ is a
>> C++ compiler when it comes to linking. I'm wondering if that means I
>> need to rebuild my buildsupport libtool (although I can never work out
>> how it knows what types of compilers we have and updating our ancient
>> libtool is another todo item).
> Hmm, been a while but I would try defining CXX and doing all the build
> support tools from clean sources. If that doesn't work you may need to hack
> in the idea that clang++ is a sort of GCC compiler, if the options are the
In the end I tweaked the Makefile.in files in gaiavo and gaia3d (just
as they had been tweaked in gaia) to use --tag=CXX. This fixed the
problem as it stopped libtool from attempting to guess from context.
With this change gaia builds with clang/clang++. (and yes, clang
attempts to support gcc options).