Excerpts from Juergen Arndt's message of Mon Jun 18 13:06:34 -0400 2012:

> As already shortly discussed with Maciej yesterday, this seems to be
> a general problem and not only concerning the Nagios plugins. In my
> opinion a lot of packages which have to be compiled with SunStudio
> and needs MySQL support will run into these issues.

Anything that is a target of language bindings (pretty much all common
libraries) would benefit from a mechanism that allowed building it
with either compiler.  We'd need a nice way to make this as
transparent to the users (maintainers included) to easily pick the
right compiler to get the right options returned from the pkg-config
tools.

A generic pkg-config tool that detected $CC from the environment and
forked an appropriate sub-command ($pkg-config.$compiler) to provide
the appropriate values would work.  It may be required to build things
with both compilers though...at least enough to know what the tool
would spit out for --libs, --cflags, etc.  In some cases this might be
guessed and then provided with a simple shell script.

Unless we make a hard standardization on one compiler, this problem
won't be easily solved, I don't think.

What do others think?

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Reply via email to