Installation on PC using cygwin

Richard B. Kreckel kreckel at ThEP.Physik.Uni-Mainz.DE
Sun Jul 2 15:34:20 CEST 2000


On Thu, 29 Jun 2000, Billinghurst, David (CRTS) wrote:

> I have just installed ginac-0.6.2 on a PC under NT4SP5 using gcc-2.95/cygwin
> (http://sourceware.cygnus.com/cygwin).  There were two minor problems fixed
> by patches below.
> 
> 1. cygwin defines a macro log2, which confuses ginac function in utils
> 2. a builddir != srcdir cannot find ginsh/*.sed files
> 
> After these fixes the build and the checks were OK.

Thanks for your bugreport.  Your patches will be included in the next
release.

One question: Isn't the macro log2 on cygwin doing exactly what we want so
we can say
> #ifndef log2
> unsigned log2(unsigned n);
> #endif
instead of #undefining it?

Regards
    -richy.
-- 
Richard Kreckel
<Richard.Kreckel at Uni-Mainz.DE>
<http://wwwthep.physik.uni-mainz.de/~kreckel/>





More information about the GiNaC-devel mailing list