This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: How do I point out OS includes?
On 13 April 2007 14:53, Jonathan S. Shapiro wrote:
> On Fri, 2007-04-13 at 12:01 +0200, Anders Lindgren wrote:
>> I have successfully built a C/libc only toolchain for my own target, but
>> I had to disable target-libiberty, C++ and libssp....
>>
>> Top-level --with-headers looks like it would be the thing (apart from
>> the copying part, but I have "rm" available :-) ) but is prominently
>> listed as deprecated in favor or --with-sysroot. The latter however
>> assumes a unix filesystem, and will start stuffing things like
>> "usr/include" onto whatever I put there.
>
> I have a similar problem, but I'm actually *using* --with-sysroot, and
> the proper headers are actually present in the target directory (I
> think). In any case, I would be interested in the answer to this as
> well...
I'm going to carry on using --with-headers and --with-libs until they
deprecate them from my cold dead hands.... :)
cheers,
DaveK
--
Can't think of a witty .sigline today....