HARDHAT: hhl-relocation... how to use it?

2 messages, 2 authors, 2000-09-05 · open the first message on its own page

HARDHAT: hhl-relocation... how to use it?

From: Paolo Scaffardi <hidden>
Date: 2000-09-05 09:19:30

I suppose hhl-relocation can be used to reconfigure the standard directory
of the compiler toolkit but it seems it cannot be run (it looks for
hhl-relocation.real).

Any suggestion?

Thanx,
Paolo.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: HARDHAT: hhl-relocation... how to use it?

From: Mark Hatle <hidden>
Date: 2000-09-05 17:14:33

The hhl-relocation program is a wrapper which is used for relocation
gcc.

GCC has many hard coded paths in it.  We have a system to bypass those
hard coded paths using environment variables.  During the RPM install,
if you chose to install other then the default prefix (if do an rpm -qip
gcc* you'll see it is relocatable) a small script is run to adjust the
default prefix inside of hhl-relocation, and then rename all of the gcc
executables (gcc, g++, etc) to *.real.  It then sets up a sym link from
"gcc" to hhl-relocation.  When you run a symlinked program,
hhl-relocation intercepts the call, sets the environment variables, and
then calls the program + .real.

It does preform relocation, but no it cannot reconfigure the standard
directory to run relocated.  You must use rpm to do that.

--Mark

Paolo Scaffardi wrote:
I suppose hhl-relocation can be used to reconfigure the standard directory
of the compiler toolkit but it seems it cannot be run (it looks for
hhl-relocation.real).

Any suggestion?

Thanx,
Paolo.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help