hgcc script for propolice

Robert Connolly cendres at videotron.ca
Sat Jan 10 09:49:34 PST 2004


On January 10, 2004 12:44 pm, T_B wrote:
> "Robert Connolly" <cendres at videotron.ca> wrote in message
> news:200401100411.59336.cendres at videotron.ca...
>
> > I made a bash script for `sed`ing the gcc specs so its easy like gentoo
>
> now :)
>
> > Updated propolice.txt and wiki to match.
> >
> > ftp://twocents.mooo.com/pub/hcc/hgcc.sh
>
> I have been doing a test build following the wiki instructions for adding
> propolice.
>
> I have assumed that the HJL binutils is to be used for chapter 5 pass2 and
> chapter 6 builds of binutils.  Is this correct?
> I am encoutering errors in the chapter 6 build of binutils - complains that
> mktemp should be mkstemp in binutils/bucomm.c and that also spits out this
> error:
>
> creating objdump
> /bin/sh ../../binutils-2.14.90.0.7/binutils/../ylwrap ""
> ../../binutils-2.14.90.0.7/binutils/arparse.y y.tab.c arparse.c y.tab.h
> arparse.h --  -d
> ../../binutils-2.14.90.0.7/binutils/../ylwrap: line 86: -d: command not
> found
> make[3]: *** [arparse.c] Error 1
> make[3]: Leaving directory `/usr/src/binutils-build/binutils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/binutils-build/binutils'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/usr/src/binutils-build/binutils'
> make: *** [all-binutils] Error 2

I think you are missing yacc. Install m4, bison, and flex to /tools. If you 
are already in chap6 you can still install to /tools, it just means m4, 
bison, and flex will be linked to /lib.




More information about the hlfs-dev mailing list