This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 8051, libgcc2.a, Internal compiler error in `instantiate_virtual_regs_1'
- To: Thomas dot Schuetzkowski at web dot de
- Subject: Re: 8051, libgcc2.a, Internal compiler error in `instantiate_virtual_regs_1'
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Mon, 20 Mar 2000 23:34:07 +0100
- CC: gcc at gcc dot gnu dot org
- References: <38D67DD7.EA88D0B0@web.de>
> Do I have to provide the header files (stdlib.h, unistd.h, ...)?
>
> I only want the compiler to create assembler code for the 8051. Do I
> need a libgcc2 ?
If you only want to create assembler code, you don't need to compile
libgcc2. As a result, you don't need target header files, either. Of
course, if you use the compiler to compile C code, that C code might
also need header files - which you then would need to provide to users
of the compiler.
> The files cccp and cc1 were already created, can I use them?
Sure.
> When I try to compile a simple program with the created cc1 like:
[...]
> test1.i: In function `main':
> test1.i:5: Internal compiler error in `instantiate_virtual_regs_1', at
> function.c:4027
It looks like there is a bug in your compiler...
Regards,
Martin