This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: sys-include/newlib.h


Hi Jeff,

> What you are trying is unsupported.  Newlib configuration needs to run.
> Have you tried --with-newlib?  You might need to add a
> configure-target-newlib or all-target-newlib target to your configure call.  

I'm not sure what you mean by newlib configuration needs to run. I thought it was, and that's what is generating target/include/newlib.h (which has the correct values generate by configure).

Yes, I'm using --with-newlib. This is with newlib & gcc source trees merged, so they configure and build together. 

Do you mean --with-headers is unsupported? If I don't use that, then inhibit_libc=true is set in gcc/Makefile, and things like gprof support aren't built.

Here's the code from gcc/configure.ac

if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
       test x$with_newlib = xyes ; } &&
     { test "x$with_headers" = xno || test ! -f "$target_header_dir/stdio.h"; } ; then
       inhibit_libc=true

Is that not saying it needs to be set?

Thanks,
Jon
 


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