| Date Of Receipt: 24-OCT-1995 00:04:28.13
From: SMURF::QUARRY::"[email protected]" "24-Oct-1995 0001"
To: [email protected]
CC: [email protected]
Subj: Re: how to change compile link order
As a general rule, the kernel build should have NO dependencies on the
libraries generated during the build. As long as you've defined
COMP_HOST_ROOT=/ as Greg describes and use the installed libs on the build
machine, this is OK. This sort of thing is generally done to build an object
that must run as part of the build but doesn't ship with the product. Check
kernel/conf/template*.mk.
-Grant
|
| I ran into a problem where if I have the atom kit ATM350, I get undefined
| symbols compiling some files.
| Greg Lueck says:
|
| The version of the libmld.a library shipped with Atom contains referenc
es
| to routines in the libots.a library. This library should already be in
stalled
| on your system. A workaround should be to link in libots.a (-lots) aft
er
| linking libmld.a (-lmld). You can do this by changing your link line l
ike
| this:
|
| env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /usr/bin/cc -EL \
| -non_shared -O2 `genpath ` -L/usr/lib -L/lib -o pmerge.X \
| main.o loader.o -lmld -lots
|
| Where would I change the kernel makefiles so that it always does this?
|
| Christine
|