This is the mail archive of the crossgcc@sourceware.org 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]
Other format: [Raw text]

Re: Relocatable compiler?


On Wed, 2008-07-23 at 07:21 +0000, Michael Abbott wrote:
> How relocatable is the resulting toolchain?  I mean: if I build with 
> CT_PREFIX_DIR=/bla/blah and later on I relocate the entire 
> /bla/blah/machine-vendor-linux-blah tree somewhere completely different 
> ... does anybody know if it's designed to still work?
> 
> My brief experience so far is that the compiler *does* seem to still work 
> after relocation, but I don't know if that's just luck (also haven't 
> actually tried *running* any code yet...)!  I expect the answer is likely 
> to be compiler specific: I'm trying this with gcc 4.2.4.

AFAICT, gcc should work when relocated, although with gcc-4.1.1 I've
encountered this problem: http://gcc.gnu.org/PR29831

Haven't tried with any newer gcc (yet).

/haubi/


--
For unsubscribe information see http://sourceware.org/lists.html#faq


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