Re: Usage of gengetopt

Lorenzo Bettini <[email protected]> Thu, 09 Sep 2010 18:47:14 +0200
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
On 09/06/2010 09:22 PM, J. David Bryan wrote:
> On Monday, September 6, 2010 at 8:19, Hans Lodder wrote:
>
>> So I downloaded gengetopt.2.22.4 and Cygwin 1.7.7.
>>
>> Unfortunately, ./configure crashes. It cannot find /mingw/lib/crt2.o in
>> the mentioned directory, because it resides somewhere else.
>
> Gengetopt configures and compiles cleanly for me using either the Cygwin or
> Msys (mingw) environments.  The above error may be from mixing the two
> (e.g., Cygwin environment but mingw gcc), as crt2.o is present in
> /lib/mingw for Cygwin but /mingw/lib for mingw.

Hi Hans

it's just like David said: your installation of cygwin is probably mixed 
with mingw.

Some windows binaries are available from 
here:http://www.lorenzobettini.it/software/gengetopt/

but they're old.

Please tell me if you need more up-to-date versions.

However, I think you need to fix your cygwin/mingw installation in order 
to use the sources generated by gengetopt itself.  I suggest you either 
install cygwin or mingw or you keep them separated.

cheers
	Lorenzo

-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net