* HARDHAT: hhl-relocation... how to use it?
@ 2000-09-05 9:19 Paolo Scaffardi
2000-09-05 17:14 ` Mark Hatle
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Scaffardi @ 2000-09-05 9:19 UTC (permalink / raw)
To: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: HARDHAT: hhl-relocation... how to use it?
2000-09-05 9:19 HARDHAT: hhl-relocation... how to use it? Paolo Scaffardi
@ 2000-09-05 17:14 ` Mark Hatle
0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2000-09-05 17:14 UTC (permalink / raw)
To: Paolo Scaffardi; +Cc: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-09-05 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-05 9:19 HARDHAT: hhl-relocation... how to use it? Paolo Scaffardi
2000-09-05 17:14 ` Mark Hatle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).