Subject: Re: Compile prob
To: Patrick Welche <prlw1@cus.cam.ac.uk>
From: Jasper Wallace <jasper@ivision.co.uk>
List: port-arm32
Date: 12/17/1996 17:30:33
On Tue, 17 Dec 1996, Patrick Welche wrote:

> I tried the following (no errors at the gcc -c -O stage)
> 
> ld -e start -dc -dp /usr/lib/crt0.o -L/usr/libexec abc.o def.o ghi.o klm.o nop.o q.o rs.o tuv.o -lf2c -lm -o gulp
> collect2: ld returned 1 exit status
> def.o: could not read symbols: Bad value
> *** Error code 1
> 
> Stop.

does the def.o file exist?

> and I can't find the man page for ld either... How can I fix symbols
> and where can I find the ld gcc ps make man pages?

Whats your MANPATH set to? mine is:
/usr/share/man:/usr/local/man:/usr/X11R6.1/man

As it comes RiscBSD has incomplete whatis.db files (as used for apropos
serches, and whatis)... as root do /usr/libexec/makewhatis <pathname to man
directory> for each man directory e.g.

/usr/libexec/makewhatis /usr/X11R6.1/man

This will take a LONG TIME and be fairly processor intensive - however
whatis and apropos will work properly now.

the actuall man pages are at:

ps - /usr/share/man/cat1/ps.0
ld - /usr/share/man/cat1/ld.0
gcc - /usr/share/man/cat1/gcc.0
make - /usr/share/man/cat1/make.0
(gmake - /usr/local/man/cat1/gmake.0)

nroff -man <man page> | more

will let you read them directly - have a look at /etc/man.conf too (This
will probably need changing for X)

-- 
Jasper Wallace-Internet Vision | Caving-Acorn-RiscBSD-Chocolate-Banks-Fish
My opinions != IVisions's      | PovRay-FVWM-Perl-C-Mono-Food-Wired-?
E-Mail:jasper@ivision.co.uk    | This is the Internet, untamed and free,
Tel: +44 171 589 4500 (work)   | Where you can be anything you want to be