Recent changes to newlib Makefiles break cygwin
Thomas Fitzsimmons
fitzsim@redhat.com
Tue Feb 6 05:32:00 GMT 2001
On Thu, 2001-12-13 at 22:43, Christopher Faylor wrote:
> I'm surprised that no one attempted to build cygwin after the recent
> huge change to newlib configury.
>
I did build newlib successfully on an i686-pc-linux-gnu host for an
i686-pc-cygwin target, but I didn't build winsup as an additional
check. I'll do that in the future.
> 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.
Tom
--
Thomas Fitzsimmons
Red Hat Canada Limited e-mail: fitzsim@redhat.com
2323 Yonge Street, Suite 300
Toronto, ON M4P2C9
More information about the Newlib
mailing list