Recent changes to newlib Makefiles break cygwin

Christopher Faylor cgf@redhat.com
Fri Dec 14 13:06:00 GMT 2001


On Fri, Dec 14, 2001 at 03:54:45PM -0500, Thomas Fitzsimmons wrote:
>On Thu, 2001-12-13 at 22:43, Christopher Faylor wrote:
>>Unless I'm missing something, vfprintf.o is being miscompiled,
>>resulting in this error:
>>/cygnus/build/win32/i686-pc-cygwin/newlib/libc/libc.a(vfiprintf.o)(.text+0x2ad):vfprintf.c: undefined reference to `__imp____mb_cur_max'
>>This is due to the fact that vfprintf.o is, AFAICT, the only object
>>file in the newlib/libc/stdio directory that is not compiled with the
>>-D_COMPILING_NEWLIB option (among other options).
>>
>
>vfiprintf.o was also not being compiled with these options.  I had to
>rearrange the order in which these objects were built because of how
>libtool handles multiple object files compiled from the same source
>file.  In doing so, I forgot to put $(INCLUDES) on the compile line.
>
>This should be fixed now.

I noticed your checkins and tried a build.  It is fixed.

Thanks for the quick response!

cgf



More information about the Newlib mailing list