Steffen Mueller wrote: > Hi Adam, hi Mattia, hi Jens, > > Mattia, I hope you don't mind being CC'd on this. > > Adam Kennedy wrote: >> So it sounds like cross-platform Alien::ZeroMQ is in high demand then. > > Mattia, all: What do you think are the chances of bringing C++ compiler > detection/support in the toolchain (even if it's just one of the three > build tools) to the level that casual XS/C++ module authors like myself > don't have to worry about it? I'm not asking you to do it, but I believe > you have a much better idea to give any effort some direction.
As noted in one of the answers, wxPerl only guesses the C++ compiler on Windows, and here you only have 3 Perl-supported alternatives (MSVC, MinGW, Borland). OS X is easy too (AFAIK Perl only supportes GCC). On the various unices you can probably use a big rule set, matching the C compiler name and/or some other heuristics. IME it is the kind of thing that is easy to get 99% right. Another interesting information is binary compatibility between versions. For example GCC changed ABI 3 times between 3.0 and 3.4, and MSVC uses a different C/C++ runtime for every release from 6.0 to 9.0, and IIRC recent MinGW releases switched exception handling to DWARF, so they are incompatible with older versions. And I'd like a way to guess the C++ compiler that was used to build a binary (using embedded strings, linked libraries, ...). And I'd like a pony, too :-) Regards, Mattia P.S.: I'm subscribed to padre-dev, no need (and no harm) in CC-ing me _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev