This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: sys-include/newlib.h
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Jon Beniston <jon at beniston dot com>, newlib at sourceware dot org
- Cc: 'Jeff Johnston' <jjohnstn at redhat dot com>
- Date: Mon, 12 Dec 2016 12:02:46 +0100
- Subject: Re: sys-include/newlib.h
- Authentication-results: sourceware.org; auth=none
- References: <84b001d25232$da74dd20$8f5e9760$@beniston.com> <212353526.2559217.1481310415007.JavaMail.zimbra@redhat.com> <84da01d2525d$7b9eb340$72dc19c0$@beniston.com>
On 09/12/16 21:47, Jon Beniston wrote:
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.
Did you place a link to the Newlib sources into your GCC source tree, e.g.
newlib -> ../newlib-git/newlib
? You need link to the newlib subdirectory inside the Newlib source tree.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.