Mail Archives: djgpp/1998/04/02/05:17:21
On Wed, 1 Apr 1998, Daniel Shor wrote:
> gcc -v -Wall -g -o test.exe d:\djgpp\allegro\examples\ex1.c
>
> "Using builtin specs.
> gcc version 2.8.0
> cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386
> -DGO32 -DMS DOS -DDJGPP=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
> -D__DJGPP__=2 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -Asystem(unix) -Asystem(msdos)
> -Acpu(i386) -Amachine(i386) -g -Wall -Di386 -Asystem(unix) -Acpu(i386)
> -Amachine(i386) -D__i386__ -Asystem(unix) -Acpu(i386) -Amachine(i386)
> d:\djgpp\allegro\examples\ ex1.c c:\windows\TEMP/ccaaaaaa.i
> Loader error (0025): cannot initialize"
The problem is clearly with `cpp'. Please type the following command
and tell what did it print:
gcc -print-prog-name=cpp
Btw, the above output also indicates that your DJGPP variable is not
set correctly in the environment. Please type "set > env.lst" from
the DOS prompt and post the contents of the file `env.lst' which this
creates.
- Raw text -