www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/02/03:11:53

X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs
Date: Mon, 2 Aug 1999 09:47:38 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Laurynas Biveinis <lauras AT softhome DOT net>
cc: djgpp-workers AT delorie DOT com
Subject: Re: GCC 2.95 and gperf
In-Reply-To: <37A47592.E0B79B35@softhome.net>
Message-ID: <Pine.A41.4.05.9908020939350.53762-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019