This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Recent changes to newlib Makefiles break cygwin
- From: Christopher Faylor <cgf at redhat dot com>
- To: Thomas Fitzsimmons <fitzsim at redhat dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Fri, 14 Dec 2001 16:05:40 -0500
- Subject: Re: Recent changes to newlib Makefiles break cygwin
- References: <20011214034309.GA3165@redhat.com> <1008363287.10508.2.camel@toggle>
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