This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 8051, libgcc2.a, Internal compiler error in `instantiate_virtual_regs_1'


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]