[PATCH 1/4] Importing strtoimax inttypes method from FreeBSD.

Sebastian Huber sebastian.huber@embedded-brains.de
Fri Aug 11 06:32:00 GMT 2017


On 02/08/17 13:04, Corinna Vinschen wrote:

> On Aug  2 08:49, Aditya Upadhyay wrote:
>> ---
>>   newlib/libc/include/inttypes.h |  12 +++
>>   newlib/libc/stdlib/Makefile.am |   1 +
>>   newlib/libc/stdlib/strtoimax.c | 167 +++++++++++++++++++++++++++++++++++++++++
> All 4 patches applied.
>
> I made a few minor formatting changes in terms of whitespaces and
> missing empty lines between functions.  Please compare what I commited
> with your local patch to see the differences.

The files are not built currently. We have to regenerate the 
Makefile.in. I had problems with that using automake 1.12.2:

configure.in:251: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call 
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../libtool.m4:1080: _LT_SYS_MODULE_PATH_AIX is expanded from...
../libtool.m4:4213: _LT_LINKER_SHLIBS is expanded from...
../libtool.m4:5341: _LT_LANG_C_CONFIG is expanded from...
../libtool.m4:141: _LT_SETUP is expanded from...
../libtool.m4:67: LT_INIT is expanded from...
../libtool.m4:106: AM_PROG_LIBTOOL is expanded from...
configure.in:251: the top level
configure.in:251: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call 
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../libtool.m4:4213: _LT_LINKER_SHLIBS is expanded from...
../libtool.m4:5341: _LT_LANG_C_CONFIG is expanded from...
../libtool.m4:141: _LT_SETUP is expanded from...
../libtool.m4:67: LT_INIT is expanded from...
../libtool.m4:106: AM_PROG_LIBTOOL is expanded from...
configure.in:251: the top level
configure.in:241: error: version mismatch.  This is Automake 1.12.2,
configure.in:241: but the definition used by this AM_INIT_AUTOMAKE
configure.in:241: comes from Automake 1.11.6.  You should recreate
configure.in:241: aclocal.m4 with aclocal and run automake again.

I don't know how to regenerate libc/stdio/Makefile.in using automake 1.12.2.

-- 
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.



More information about the Newlib mailing list