[GiNaC-list] Re: Ginac mingw build cannot go well

Richard B. Kreckel kreckel at ginac.de
Wed Jan 2 11:53:41 CET 2008


Alexei Sheplyakov wrote:
>> --- ginac/excompiler.cpp        20 Nov 2007 22:38:41 -0000      1.4.2.2
>> +++ ginac/excompiler.cpp        2 Jan 2008 08:42:26 -0000
>> @@ -25,6 +25,7 @@
>>
>>  #include "excompiler.h"
>>
>> +#include <cstdlib>
>>  #include <stdexcept>
>>  #include <ios>
>>  #include <fstream>
> 
> I doubt this is correct fix. That is, it helps to avoid compilation
> failure, but it doesn't make the excompiler thing functional. The code
> is very ELF- (or even glibc-) specific, so IMHO the right fix is to disable
> it on non-ELF platforms (mingw, darwin).

You're right, the code is ELF-specific because of dlopen and friends. I 
don't see what makes it glibc-specific, though. But then, the entire 
code is pretty much disabled to throwing stubs #if !defined(HAVE_LIBDL).

Tatsuru, can you, please send us your config.log file?

Cheers
   -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>


More information about the GiNaC-list mailing list