This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

moving an installation of gcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]