Re: A thought on default libraries (Inline::CPP)

2012-03-08 Thread David Mertens
David - First, I think this is a good idea: it'd be more robust than hard-coded library flags. Second, you'll almost certainly have to use per-compiler verbosity flags and output parsing. For example, Microsoft's Visual Studio will almost certainly display its output differently than gcc. LLVM's c

A thought on default libraries (Inline::CPP)

2012-03-08 Thread David Oswald
I just had a thought on all the hurdles we're going through on trying to guess the proper default libraries for a given platform. This may be totally wrong, but here goes: Within Makefile.PL we're already test-compiling a C++ program to detect whether headers should have a .h extension or not. Wh