compilation failure with g77

Eve Daly emmdaly@yahoo.com
Tue Dec 21 08:51:00 GMT 1999


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

in d;\cygnus\cygwin-b20\
and then tarred and unzipped them using tar -xfz

as par the instructions given
http://www.woodsoup.org/projs/ORKiD/cygwin.htm

ie do the above
and 
set up 
 LIBRARY_PATH
 C_INCLUDE_PATH
 CPLUS_INCLUDE_PATH

I then wanted to test it by compiling a fortran
program( which is the main reason I 
installed cygwin, but I get the following errors.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.
---------------------------------------------------------------------------------------
bash-2.02$ g77 PART.FOR -o part.exe
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/libg2c.a(lread.o)
(.text+0x1dd): undefined reference to `_imp___ctype_'
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/libg2c.a(lread.o)
(.text+0x28e): undefined reference to `_imp___ctype_'
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/libg2c.a(lread.o)
(.text+0x308): undefined reference to `_imp___ctype_'
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/libg2c.a(lread.o)
(.text+0x33e): undefined reference to `_imp___ctype_'
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/libg2c.a(lread.o)
(.text+0x8d2): undefined reference to `_imp___ctype_'
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/libg2c.a(lread.o)
(.text+0xaea): more undefined references to
`_imp___ctype_' follow
collect2: ld returned 1 exit status
bash-2.02$
--------------------------------------------------------------------------------

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue Dec 21 16:35:21 1999

WinNT Ver 4.0 build 1381 Service Pack 3

Path:   /bin
        /usr/bin
        /usr/etc
        /usr/home
        /usr/local/src
        usr/local/share
        /temp_internet
        .

SysDir: D:\WINNT\System32
WinDir: D:\WINNT

C_INCLUDE_PATH = `/usr/local/include'??????
HOME = `/usr/home'
LIBRARY_PATH =
`/Cygnus/cygwin-b20/H-i586-cygwin32/lib' ???????
MAKE_MODE = `UNIX'
PWD = `/temp_internet'

!D: = `D:\WINNT\PROFILES\Administrator\DESKTOP'
COMPUTERNAME = `AGU8'
COMSPEC = `D:\WINNT\system32\cmd.exe'
CPLUS_INCLUDE_PATH = `/usr/local/include'
GEOSOFT = `D:\Geosoft'
GEOTEMP = `D:\geotemp'
HOMEDRIVE = `D:'
HOMEPATH = `\'
HOSTNAME = `agu8'
HOSTTYPE = `i586'
LOGONSERVER = `\\AGU8'
MACHTYPE = `i586-pc-cygwin32'
NUMBER_OF_PROCESSORS = `1'
OS2LIBPATH = `D:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin32'
PATHEXT = `.COM;.EXE;.BAT;.CMD'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping
2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROMPT = `$P$G'
SHELL = `/bin/sh'
SHLVL = `1'
SYSTEMDRIVE = `D:'
SYSTEMROOT = `D:\WINNT'
TEMP = `D:\TEMP'
TERM = `cygwin'
TMP = `D:\TEMP'
USERDOMAIN = `AGU8'
USERNAME = `Administrator'
USERPROFILE = `D:\WINNT\Profiles\Administrator'
WINDIR = `D:\WINNT'
_ = `/bin/cygcheck'

Use `-r' to scan registry

a:\ fd           N/A    N/A
c:\ hd  FAT     2047Mb  60% CP    UN
d:\ hd  FAT     2047Mb  75% CP    UN
e:\ hd  FAT     1999Mb  46% CP    UN
j:\ cd           N/A    N/A
r:\ ram FAT        7Mb   0% CP    UN          
NT-RAMDRIVE

D:                                        /       
native  text!=binary
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin  /bin    
native  text!=binary

Found:
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\bash.exe
Found:
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cat.exe
Found:
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cpp.exe
Found:
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\find.exe
Found:
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gcc.exe
Found:
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gdb.exe
Found: d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ld.exe
Found: d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ls.exe
Found:
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe
Found: d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\sh.exe

  371k 1998/12/01
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtcl80.dll
- os=4.0 img=
1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1998/12/1
8:25
    5k 1998/12/01
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtclpip80.dll
- os=4.0 i
mg=1.0 sys=4.0
   10k 1998/12/01
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtclreg80.dll
- os=4.0 i
mg=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1998/12/1
8:25
  600k 1998/12/01
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtk80.dll -
os=4.0 img=1
.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1998/12/1 8:28
  451k 1999/12/17
d:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll -
os=4.0 img=1
.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1999/1/16 5:09
Use -h to see help about each section
bash-2.02$



__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list