GNU 2.95.1 .......libc881.a

Eric Doenges Eric.Doenges@batian.lpr.e-technik.tu-muenchen.de
Sat Feb 28 23:38:00 GMT 1998


Srinivasa T.N. <seenutn@bigfoot.com> writes:

[ ... ]
>After this there was a problem in the compilation of
>libiberty/vsprintf.c. This was being compiled with 'xgcc' and it was not
>able to locate the macro _IOSTRG used in the statement

You might need to specify a path to the necessary header files for your
target system. I had this problem while trying to get gcc to compile as an
m68k-coff cross compiler.

>I commented out _IOSTRG and proceeded. Is this the right thing to do?

Probably not, but if that´s the only way to get it to run ... =8^)

>Can anyone tell where libc881.a will be found?

If you are using multilib, there should be no such thing. There should be
several versions of libc and libm in different directories (I have m5200,
m68000, mcpu32, msoft-float and the default (68020)). Of course, this may
be different for a m68k-motorola-sysvr4 target - I have a m68k-coff target
without any operating system, so the above may be totally bogus for you.

>I also would like to know if anybody has configured g++ as a cross
>compiler successfully.

I have, like this:

../gcc-2.95.1/configure --target=m68k-coff \
	--with-gnu-as --with-gnu-ld --with-newlib \
	--with-headers=../newlib-1.8.1/newlib/libc/include/ \
	--enable-languages=c++

-- 
________________________________________________________________________
Dipl.-Ing. Eric Doenges                         http://www.rcs.ei.tum.de
Institute for Real-Time Computer Systems (RCS)      fon +49-89-289-23590
Technische Universitaet Muenchen, D-80290 Muenchen  fax +49-89-289-23555



More information about the Cygwin mailing list