compilation failure with g77

Earnie Boyd
Fri Dec 31 13:28:00 GMT 1999

--- Eve Daly <> wrote:
> Hi there,
> I have downloaded and installed cygwin-b20.1 and
> upgraded cygwin1.dll using Earnie Boyds 19990115 snap
> shot,
> I then installed gcc-2.95.2 by
> downloading the following files
>  gcc-2.95.2-cygb20.tar.gz
>  binutils-2.9.4-cygb20.tar.gz
>  gcc-2.95.2-dev-ss.tar.gz


This file installed changes that appear in snapshots greater than 19990115. 
One of those changes is a change from __ctype to _ctype_.

> in d;\cygnus\cygwin-b20\
> and then tarred and unzipped them using tar -xfz
> as par the instructions given
> ie do the above
> and 
> set up 

These variables are not needed if you have things setup properly.  I.E.: either
moved to /usr/include and /usr/lib or left in the installed path.

> I then wanted to test it by compiling a simple 
>  fortran program( which is the main reason I 
> installed cygwin, but I get the following error.
>  undefined reference to `_imp___ctype_'

This is the indication of your mixing old and new.  I'll suggest that you get
the latest cygwin-inst from the
page and install it.  Overwrite your existing files with the ones from this

> I have obviously missed something important,
> I read the gcc readme and it talks
> about-I/usr/local/mingw/include and
> -L/usr/local/mingw/lib, but I don't really understand
> it.
> How do I set up the gcc variables which it talks about
> and is this my problem?.
> any help you could give would be great and I am sorry
> for such a newbie question
> Eve
>  ps
>  I have also attached the o/p of
> cygcheck -s -v to the end of this mail.

the cygcheck looks normal.

Happy Holidays,

Earnie Boyd < >
Cygwin Newbies, please visit
< >
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping:

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list