This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GNU 2.95.1 .......libc881.a
- To: help-gcc at gnu dot org
- Subject: Re: GNU 2.95.1 .......libc881.a
- From: Eric Doenges <Eric dot Doenges at batian dot lpr dot e-technik dot tu-muenchen dot de>
- Date: 11 Oct 99 06:18:50 GMT
- Distribution: world
- Newsgroups: gnu.gcc.help
- Organization: Lehrstuhl fuer Realzeit-Computersysteme, TU Muenchen (Germany)
- References: <7tl6ba$qi6$1@nnrp1.deja.com>
- Reply-To: Eric dot Doenges at batian dot lpr dot e-technik dot tu-muenchen dot de
- Xref: wodc7nx0 gnu.gcc.help:1357
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