moving an installation of gcc
Kevin Heatwole
kdh@ocsystems.com
Thu Jun 21 07:21:00 GMT 2001
This is probably a dumb question, but I have built a gcc cross on AIX
for LinuxPPC. When I built it, it installed in the directory I
specified (-prefix).
What I'd like to do is to bundle this build such that I can
distribute it to our customers in such a way that they don't have to
install it in the same directory.
Can I just tar up the build and untar it on my customer's machine (in
another location) or do I need to run an install script to fix up any
hard coded paths?
Or, can I build it such that the prefix is an environment variable so
the user could put it anywhere and just set the environment variable
before using the tools?
I hope someone on this list knows the answer to this off the top of
their head. If not, I'll dig around or just look at the
installation. I know I had to edit the libc.so file to include the
paths of the libc.so.6 and libc_notshared.a libraries when I copied
the lib directory from my target into the host build, so there are at
least some hardcoded paths in the installation.
Thanks,
Kevin
--
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list