This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: configuring for THUMB
Marco wrote:
>
> Michael Eager wrote:
> >
> > Marco wrote:
> > >
> > > I configure gcc with the option --target=thumb-coff
> > > but during compilation I get this message:
> > >
> > > In file included from ../../source/gcc-2.95.3/gcc/libgcc2.c:33:
> > > tconfig.h:5: arm/xm-thumb.h: No such file or directory
> > > make[3]: *** [libgcc2.a] Error 1
> >
> > Do you have gcc-2.95.3/gcc/config/arm/xm-thumb.h?
> > If not, then you have a corrupted distribution. (Not likely,
> > but one needs to check.)
> The file is not present in my gcc-2.95.3 version, but I have it in my
> gcc-2.95.2, and it consists of only one line:
> #include <tm.h>
>
> shall I copy it in the gcc-2.95.3 and use it for configuration?
It is identical in both 2.95.2 and 2.95.3.
I would suggest that you restore the sources from the tar file.
The gcc-2.95.3.tar.gz file I have is 12911721 bytes.
> > > What can I do about it?
> >
> > Provide some information:
> >
> > How did you configure GCC?
>
> ../source/gcc-2.95.3/configure --target=thumb-coff --with-gnu-as
> --with-gnu-ld --disable-threads --with-newlib
>
> >
> > What was the make command?
>
> make LANGUAGES="c"
> >
> > What was the command which got the error?
> >
> _muldi3
That isn't the command, but it is echoed by the loop which
is attempting to compile _muldi3.o. You will find the command
line which compiles libgcc2.c listed just above this.
--
Michael Eager eager@mvista.com 408-328-8426
MontaVista Software, Inc. 1237 E. Arques Ave., Sunnyvale, CA 94085