This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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: Default installation directory for include files when cross compiling


Gabriel Dos Reis wrote:

> | Does that mean that you would approve a patch to adjust the default for
> | cross builds?
> 
> Yes.
> 
> I was concerned you wanted to change the default uniformly,
> e.g. whether native or not.  You have clarified it would be only for
> cross-compile.

Here is a patch to implement this change.  (Unfortunately, one has to
make this change in two places; perhaps, in future, there should be a
driver -print-libstdc++-include option, or some such.)

Gaby, is this patch OK?

I have tested this patch with both a native x86_64-unknown-linux-gnu
compiler and an arm-eabi cross-compiler (which is a better test than
arm-none-eabi, in that the target name is an alias, rather than the
canonical target name).  In both cases, everything worked fine.

I plan to apply this patch at this point in this release cycle because
it fixes an important installation problem.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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