8051, libgcc2.a, Internal compiler error in `instantiate_virtual_regs_1'
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Mon Mar 20 14:48:00 GMT 2000
> 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
More information about the Gcc
mailing list