Mail Archives: djgpp/1996/11/28/23:33:19
1. Install instruction
(a) gzip -d gcc272tr
(b) tar xvf gcc272tr
(c) cd gcc-272
(c)' Edit gcc-272\makefile then comment out below 6 lines.
619 lines to 624 lines.
#Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(srcdir)/version.c \
# $(srcdir)/config/$(xmake_file) $(srcdir)/config/$(tmake_file) \
# $(LANG_MAKEFILES)
# cp config.status config.run
# $(SHELL) config.run
# rm -f config.run
comment out and save makefile.
(d) gcc-272> make
Do not run configur.bat before make.
more 2 houres on my PC(486-DX2 50 MHz).
requere more then 40 Mb freee space on current directory.
SOURCE FILES DIFFERENT FROM ORIGINAL VER 2.7.2.1
DON'T OVER WRITE THEM!
(Executed patch program.)
(e) Created files.
cccp ---> preprocessor
cc1 ---> gcc new version
cc1obj ---> g++ compiler
xgcc ---> gcc new version 2.7.2.f.1 driver
libgcc.a ---> gcc liblary
libf2c.a ---> fortran liblary
gpp ---> g++ driver
g77 ---> g77 driver
f771 ---> fortran compiler
(f) Thise files copy to your djgpp\bin or djgpp\lib directory.
xgcc rename to gcc and cccp rename to cpp
(g) Add below lines to djgpp.env
[g77]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib
(h) Compile test.
D:\gnu>g77 -v -o test test.f
gcc -v -o test -xf77 test.f -xnone -lf2c -lm
Reading specs from d:/gnuwin32/lib\specs
gcc version 2.7.2.f.1
d:/gnuwin32/bin\f771.exe test.f -fset-g77-defaults -quiet -dumpbase test.f -ver
sion -fversion -o d:/gnuwin32/tmp\ccbaaaaa
GNU F77 version 2.7.2.f.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1.
GNU Fortran Front End version 0.5.18 compiled: Nov 29 1996 11:48:30
d:/gnuwin32/bin\as.exe -o d:/gnuwin32/tmp\cccaaaaa d:/gnuwin32/tmp\ccbaaaaa
d:/gnuwin32/bin\ld.exe -o test d:/gnuwin32/lib\crt0.o -Ld:/gnuwin32/lib d:/gnuw
in32/tmp\cccaaaaa -lf2c -lm -Tdjgpp.djl -lgcc -lc -lgcc
d:/gnuwin32/bin\stubify.exe -v test
stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie
stubify: test -> test.exe
Look like abve messages then all right.
(i) Tested programs.
I tested g77, Compile ANISN program and run. I get SAME RESULT.
(j) Files are
http://www.woodland.co.jp/cedar/gnu/readme.gcc
http://www.woodland.co.jp/cedar/gnu/gcc272tr.gz
thank you.
- Raw text -