moving an installation of gcc

Kevin Heatwole
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 file to include the 
paths of the 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.



Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list