All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [parisc-linux] new binutils/gcc
@ 2000-02-15  8:09 willy
  2000-02-25 21:12 ` Paul Bame
  0 siblings, 1 reply; 5+ messages in thread
From: willy @ 2000-02-15  8:09 UTC (permalink / raw)
  To: parisc-linux


ok, I couldn't wait till tomorrow..

You'll need an include directory.  You can either do it the way I did
(pick them out of glibc, one at a time), or you can get a tarball of
the fruits of my labour:

ftp://puffin.external.hp.com/pub/parisc/src/include.tar.gz

Plop this into your $prefix after installing binutils.  ie this was the
contents of /home/willy/gcc/include.  Now you need to persuade gcc to look
there for it (I thought it was supposed to do that automatically, but it seems
not).  Change line 370 of gcc-build/gcc/Makefile to read:

LIBGCC2_INCLUDES = -I/home/willy/gcc/include

and then type make.  Now I get to :

Testing libgcc1.  Ignore linker warning messages.
/home/willy/cvs/gcc-build/gcc/xgcc -B/home/willy/cvs/gcc-build/gcc/ \
	-B/home/willy/gcc/hppa1.1-linux/bin/ \
	-I/home/willy/gcc/hppa1.1-linux/include -DCROSS_COMPILE -DIN_GCC \
	-DMULTIBYTE_CHARS=1   -g -O2  -I./include  libgcc1-test.o \
	-o libgcc1-test \
  -nostartfiles -nostdlib `/home/willy/cvs/gcc-build/gcc/xgcc \
	-B/home/willy/cvs/gcc-build/gcc/ -B/home/willy/gcc/hppa1.1-linux/bin/ \
	-I/home/willy/gcc/hppa1.1-linux/include --print-libgcc-file-name`
/home/willy/gcc/hppa1.1-linux/bin/ld: can not size stub section: Bad value
libgcc1-test.o: In function `main_without__main':
/home/willy/cvs/gcc-build/gcc/../../gcc/gcc/libgcc1-test.c:20: undefined reference to `$$divI'
/home/willy/cvs/gcc-build/gcc/../../gcc/gcc/libgcc1-test.c:14: undefined reference to `$global$'
death: $$divI type 1
collect2: ld returned 1 exit status
make[1]: *** [libgcc1-test] Error 1

(wrapped for better mailer handling)

And with that I really am going to bed.  g'night.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [parisc-linux] new binutils/gcc
@ 2000-02-15  4:02 willy
  0 siblings, 0 replies; 5+ messages in thread
From: willy @ 2000-02-15  4:02 UTC (permalink / raw)
  To: parisc-linux


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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-03-01  0:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-15  8:09 [parisc-linux] new binutils/gcc willy
2000-02-25 21:12 ` Paul Bame
2000-02-27 18:26   ` Sam Creasey
2000-02-29 23:06     ` Paul Bame
  -- strict thread matches above, loose matches on Subject: below --
2000-02-15  4:02 willy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.