RE: A build problem of C++ code on Cygwin

2006-08-22 Thread Gary R. Van Sickle
> From: Brian Dessent > Sent: Tuesday, August 22, 2006 6:30 PM > Subject: Re: A build problem of C++ code on Cygwin > > Brian Dessent wrote: > > > I've seen this a million times. It's a makefile that doesn't know > > about $EXEEXT and assumes th

Re: A build problem of C++ code on Cygwin

2006-08-22 Thread Angelo Graziosi
Brian Dessent wrote > Indeed. The attached patch (and then re-running automake at the > top-level) causes the build to work correctly -- or at least get past > the problem you reported, I don't feel like waiting for the full build. Hi Brian, many thanks for the patch, I have sent it to LiDIA

Re: A build problem of C++ code on Cygwin

2006-08-22 Thread Brian Dessent
Brian Dessent wrote: > I've seen this a million times. It's a makefile that doesn't know about > $EXEEXT and assumes that executables have no extension. Because of this > one of the stock built-in make rules gets invoked instead of the proper > link command. Look in the Makefile for the rule th

Re: A build problem of C++ code on Cygwin

2006-08-22 Thread Brian Dessent
Angelo Graziosi wrote: > It tries to build C++ with gcc: > > gcc bytes_to_int_flag_generator.o -o bytes_to_int_flag_generator > > ... > So the question is : what could be the cause of this different behaviour ? > I've seen this a million times. It's a makefile that doesn't know about $E

A build problem of C++ code on Cygwin

2006-08-22 Thread Angelo Graziosi
I want to flag the following problem occurred on Cygwin BUT NOT on Linux. === I have tried to build LiDIA (A C++ Library For Computational Number Theory, http://www.informatik.tu-darmstadt.de/TI/LiDIA/) library on Cygwin. After the