Skip to contentSkip to conversation

new binutils/gcc

parisc-linux [email protected] 1 participant 1 message Feb 15, 2000

lore
Share & tools
lore
#0 lore raw

As some of you may have noticed, we now have new binutils and gcc in CVS. If you previously checked out binutils and/or egcs, you should probably delete them and get a fresh checkout. Thanks to Cygnus, this is the ELF-supporting toolchain. Thanks to Sammy, this includes sufficient support for 32-bit ELF to link a kernel. I've asked him to hold off for a few days on checking in the kernel changes until everyone has the new toolchain installed and we have depots/rpms/debs/whatever available.

If you're too impatient or want to hack the toolchain, here's my experience with it so far on HPUX 11:

install GNU flex. ld won't build with hpux lex, alas. install GNU bison. gcc doesn't even attempt to use yacc.

cvs co binutils
mkdir binutils-build
cd binutils-build

./binutils/configure --target=hppa1.1-linux --prefix=/home/willy/gcc \
	--host=hppa-hpux --disable-nls

make
make install

PATH=/home/willy/gcc/bin:$PATH

cvs co gcc
mkdir gcc-build
cd gcc-build

./gcc/configure --target=hppa1.1-linux --prefix=/home/willy/gcc \
	--host=hppa1.1-hpux --disable-nls

make

and then it dies while making libgcc2.a. I'll look at it more tomorrow, but this may save some people some time.