On 11/22/2013 04:54 PM, BELBACHIR Selim wrote:
>>>
>>> So, to build libgcc I would need --without-header to compensate for my 
>>> small libc, and to build libstdc++ I would have to use --with-header in 
>>> order to provide stdio.h ...
>>>
>>>
>>> Do you know a better way to solve that than building gcc, libgcc & 
>>> libstdc++ independently ?
> 
>> What is $(TARGET) ?
> 
>> Andrew.
> 
> $(TARGET) is a private embedded platform (cpu/os/lib)

Right, but GCC is trying to build against unistd.h.  It's not going
to do that unless you tell it you have a UNIX-like target.

I'd start by building GCC against newlib.

Andrew.

Reply via email to