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]
Other format: [Raw text]

Re: Cross-compilers _without_ copying all of include & lib


--- Paul Smith <pausmith@nortelnetworks.com> wrote:
> %% Dara Hazeghi <dhazeghi@yahoo.com> writes:
> 
>   dh> the easiest way to do this is problem using
> --with-sysroot
> 
> Yes, I've heard about this; my original request
> said:

Sorry, I wasn't reading nearly carefully enough...

> 
> > From reading lots of messages it seems like
> --sysroot, coming in
> > future versions of GCC, will be exactly what I
> want, but until then
> > (which could be a while since swapping compilers
> takes a little
> > testing) what can I do?
> 
> But there is no way in hell I will ever be able to
> use an unpublished
> compiler to build the product.  Even after 3.3.3 is
> released it will
> take some time before we can switch to using it.  I
> need a shorter-term
> solution.

That's of course your choice. That said, 3.3 branch
commit traffic is light, and limited almost
exclusively to bugfix patches, so in all likelihood,
current 3.3 branch is in better shape than 3.3.2 was.
> 
> 
> So far my best bet seems to be to punt
> --with-headers and --with-lib,
> then set appropriate variables on the "make" command
> line to get it to
> do what I want.

Why not let it copy it over (as it wants) during the
installation, then just delete the directories and
replace them with symlinks after gcc installs?

Assuming you don't plan on rebuilding gcc regularly,
it'd be a one time pain.

Dara

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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