Subject: Upgrading 0.9 to current
To: None <netbsd-current-users@sun-lamp.CS.Berkeley.EDU>
From: None <kue@zerberus.gud.siemens.co.at>
List: current-users
Date: 01/07/1994 18:28:43
Hi All !
Yesterday I tried to upgrade my plain NetBSD-0.9 to current as of 12/30/93.
I used the suggestions made by Marc Wandschneider. I did the following :
- move the old source tree (/usr/src) out of the way
(mv /usr/src /usr/src.ori)
- create a link ln -s /home/src /usr/src
- unpack all tar_files in /usr/src
- cd /usr/src/share/mk; make && make install
worked ok after 'setenv MACHINE_ARCH i386'
- cd /usr/src/include; make && make install
worked ok
- setenv LDSTATIC -static
- setenv NOPIC
- cd /usr/src/lib/libc; make && make install
worked ok
- cd /usr/src/gnu/lib/libmalloc; make && make install
worked ok
- cd /usr/src/gnu/usr.bin/gas; make && make install
produces the following output :
cc -O -DNON_BROKEN_WORDS -DPIC -I/home/src/gnu/usr.bin/gas -I -I/home/src/gnu/usr.bin/gas/config -DOLD_GAS -DSIGTY=void -Derror=as_fatal -c /home/src/gnu/usr.bin/gas/config/tc-i386.c
In file included from /home/src/gnu/usr.bin/gas/as.h:26, from /home/src/gnu/usr.bin/gas/config/tc-i386.c:31:
/home/src/gnu/usr.bin/gas/host.h:28: ho-sysv.h: No such file or directory
In file included from /home/src/gnu/usr.bin/gastarg-env.h:16, from /home/src/gnu/usr.bin/gas/as.h:393, from /home/src/gnu/usr.bin/gasconfig/tc-i386.c:31:
/home/src/gnu/usr.bin/gas/obj-format.h:29: aout.h: No such file or directory
When I do 'setenv .OBJDIR config' I get the following :
tc-i386.c:5: Unkonown pseudo-op: '.type'
tc-i386.c:5: Rest of line ignored. 1st junk character valued 95 (_)
and the same message for lines 1852, 1929 and 1964
What am I missing ?
When I skip compiling gas and proceed I get the following :
- cd /usr/src/gnu/usr.bin/ld; make & make install
worked ok
- cd /usr/src/gnu/usr.bin/gcc2; make && make install
works if I do 'setenv .OBJDIR /usr/src/gnu/usr.bin/gcc2/common'
somewhere in between
- unsetenv NOPIC LDSTATIC
- cd /usr/src/lib; make && make install
produces the following output :
crt0.c:5: Unknown pseudo-op: '.type'
crt0.c:5: Rest of line ignored. 1st junk character valued 95 (_)
again : What am I missing ??
- Didn't try the rest...
Any hints appreciated !!!
Regards
Werner Kuehnert
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| E-Mail : kue@zerberus.gud.siemens.co.at |
| Tel. : 0043-222-60171-5205 |
| FAX : 0043-222-60171-5202 |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Make a nice day :-) |
\_______________________________________________________/
------------------------------------------------------------------------------