Pure LFS - using HJ's Binutils-2.13.90.0.18

Ryan.Oliver at pha.com.au Ryan.Oliver at pha.com.au
Tue Feb 25 17:49:59 PST 2003


DJ Lucas wrote:
> That's doing good.  I couldn't get them to build in chapter 5...not sure
> as to why...I didn't look into it too far.

Interesting, I've been building them in chapter 5 for ages...
You did change the two wrapper scripts to point in the right place didn't
you?

### BISON ###
CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 &&
make LDFLAGS="-s" &&
make check &&
make install &&

cat > /stage1/bin/yacc << "EOF"
#!/bin/sh
# Begin /stage1/bin/yacc

exec /stage1/bin/bison -y "$@"

# End /stage1/bin/yacc
EOF
chmod 755 /stage1/bin/yacc

### FLEX ###
CFLAGS="-O2 -pipe" ./configure --prefix=/stage1 &&
make LDFLAGS="-s" &&
make bigcheck &&
make install &&

cat > /stage1/bin/lex << "EOF"
#!/bin/sh
# Begin /stage1/bin/lex

exec /stage1/bin/flex -l "$@"

# End /stage1/bin/lex
EOF
chmod 755 /stage1/bin/lex

Regards
Ryan

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list