[PATCH] Fix c++ include file path (proposal)
Andy Gibbs
andyg1001@hotmail.co.uk
Tue Nov 2 17:44:00 GMT 2010
On Tuesday, November 02, 2010 6:10 PM, Arnaud Lacombe wrote:
> Hi,
>
> On Tue, Nov 2, 2010 at 12:43 PM, Andy Gibbs <andyg1001@hotmail.co.uk>
> wrote:
>> Yann, All,
>>
>> I have attached a proposed patch to correctly install the c++ headers
>> inside
>> the sys-root/usr/include folder.
> Why do you think they should ?
>
Two reasons (both may be totally inadequate!):
1. Because if you do a standard (i.e. non-cross) install of gcc, this is
where these headers reside.
2. Because I have some software (badly written maybe: I can't say, it's not
mine, but I didn't want to name names!) that I need to cross-compile that
expects to find and makes direct reference to a usr/include/c++/... folder.
In most other scenarios I guess users of this particular software find
themselves in (e.g. local build or even crosstool before all these changes),
it works without problems; but with the current position crosstool is in, it
balks. Yes, I know that the c++ compiler holds the location of these
include files so it can "always" find them, but in this case its broken.
>> and copy all the include files to the target filesystem.
> What for ? If you want C++ headers on your target, just build a C++
> compiler for it.
>
Isn't that what crosstool is supposed to be doing for me? Or am I
misunderstanding you?
> - Arnaud
>
Cheers
Andy
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list