www.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000386

When Created: 03/24/2007 11:45:06
Against DJGPP version: 2.03
By whom: chris@chrisbot.com
Abstract: gcc.exe: Internal error: (null) (program as)
Simple Hello World example (test.c):

#include <stdio.h>

int main(void) {
    printf("Hello, World.\n");
    return 0;
}


Command Line: gcc test.c -o test.exe


System: Window XP Home, in cmd.exe window


Problem: When compiling a simple C program, gcc compiler reports:

C:\gcc\projects\pci>gcc test.c -o test.exe
gcc.exe: Internal error: (null) (program as)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html>; for instructions.

C:\gcc\projects\pci>

Solution added: 03/26/2007 18:26:53
By whom: chris@chrisbot.com
Doh! Use Zip Picker and download and install all of the Zip files suggested. Each zip file should be unzipped into the same base directory like c:\djgpp. Each Zip file overlays the same directories but they unzip different files necessary to install the environment you have chosen. Set the appropriate environment variables (I use a batch file) and you're ready to go.

Solution added: 11/06/2007 10:12:43
By whom: manohar.akula@gmail.com
In most cases this is caused because of not installing the
"Basic assembler, linker" zip package



  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010