[parisc-linux] new binutils/gcc
willy@thepuffingroup.com
willy@thepuffingroup.com
Tue, 15 Feb 2000 03:09:46 -0500
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.