[Boxbackup-dev] CXXFLAGS needs to be passed to linker

James O'Gorman james at netinertia.co.uk
Sun Mar 14 22:53:34 GMT 2010


Hi Chris,

On 14 Mar 2010, at 22:44, Chris Wilson wrote:
> Damn, that's a shame. Perhaps we could simply remove the ones that we don't use that use that codepage? I thought I only imported bog-standard stylesheets anyway, so I'm really surprised that they use non-standard codepages.

It is a bit odd, yes. It could also be an issue with the xsltproc I compiled, so I might take a look at the compile flags I used (see if I can add anything). I've not seen this failure on any other platform.

>> Box itself seems fine with Sun Studio (it does moan about a few things but they're only warnings) - however the QDBM Makefile.in needs patching to remove gcc-isms like -Wall. The Sun Studio guys have said they may include this as a compatibility thing in the future, but for now it just bombs out.
> 
> I get the feeling that QDBM's build system is less portable than Box's, so I can have a look at replacing it if that would help. I was worried that QDBM might use some unusual CC flags or configure tests, but that might be less of a problem than I thought.

The configure script for QDBM does say something along the lines of "THIS ONLY WORKS WITH GCC", but it compiled with Sun Studio anyway :-) (once I fiddled with the Makefile...). I think it just needs some extra tests in configure.in to produce different CFLAGS depending on if it's gcc or something else.

> I really want it to work too. Unfortunately it's our only major platform that doesn't use GCC. I guess Visual Studio support could be useful too, so we might want a build system for QDBM that works with that as well.

GCC is there in Solaris (under /usr/sfw), but I'm not convinced of the Sun-supplied version. Sun Studio generally works better in my experience, but there is quite a bit of software which assumes it will only ever be compiled with GCC. I think the FreeBSD folks have been finding this recently as they've been looking at llvm/clang.

James


More information about the Boxbackup-dev mailing list