Mail Archives: djgpp-workers/1999/08/02/03:11:53
On Sun, 1 Aug 1999, Laurynas Biveinis wrote:
> Hello,
>
> I tried to build GCC 2.95 for DJGPP. I took original
> EGCS-1.1.2 sources, patched them up to GCC 2.95, added
> libg++ and applied your patch. Then run build.bat
> in build.djg directory and building stage1 compiler
> failed with error:
> ---
> gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word \
> -k1,3,$ /djgpp/gnu/gcc-2.95/gcc/c-parse.gperf >tmp-gperf.h
> c:/djgpp/tmp/dj400000: gperf: command not found
> make.exe[1]: *** [/djgpp/gnu/gcc-2.95/gcc/c-gperf.h] Error 127
> make.exe[1]: Leaving directory `c:/djgpp/gnu/gcc-2.95/build.djg/gcc'
> make.exe: *** [all-gcc] Error 2
> ---
> I haven't seen this error when tried to build EGCS-1.1.2.
> Then I got v2gnu/cprf21s.zip from SimtelNet, successfully
> built and installed it and error message changed to:
This is known problem when using patches to upgrade egcs or now gcc.
You will not get this problem if You'll use ful source archive.
Maybe I should add 'touch gcc/c-gperf.h' to script that prepares sources
for DJGPP
> ---
> gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word \
> -k1,3,$ /djgpp/gnu/gcc-2.95/gcc/c-parse.gperf >tmp-gperf.h
> /* starting time is 18:0:46 */
> c:/djgpp/bin/gperf.exe: unrecognized option `-L'
> usage: c:/djgpp/bin/gperf.exe
> [-acCdDef[num]gGhH<hashname>i<init>jk<keys>K<keyna
> me>lnN<name>oprs<size>S<switches>tTv].
> (type c:/djgpp/bin/gperf.exe -h for help)
> make.exe[1]: *** [/djgpp/gnu/gcc-2.95/gcc/c-gperf.h] Error 1
> make.exe[1]: Leaving directory `c:/djgpp/gnu/gcc-2.95/build.djg/gcc'
> make.exe: *** [all-gcc] Error 2
It's old version of gperf. You should apply patch included in gcc-2.95
sources (directory gcc-2.95/contrib)
As far as I remeber it's in gcc FAQ (see http://gcc.gnu.org)
> ---
> It seems that I have wrong gperf. Which version is required?
> Where can I get it? readme.DJGPP doesn't mention it anywhere.
>
Andris
- Raw text -