Mail Archives: djgpp/2003/07/20/23:58:00
Message-ID: | <002701c34f37$98105a70$6480bf50@keloas4z7kq4iy>
|
From: | "Alireza Ghasemi" <keloas AT irangate DOT net>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Not Compile
|
Date: | Mon, 21 Jul 2003 07:54:02 +0430
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 6.00.2600.0000
|
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000
|
Hi,
I use WinXP.after installing djgpp 2.03 according to your instructions I
wrote the simplest c program like this:
#include <stdio.h>
int main(void)
{
printf("Hello, world!\n");
return 0;
}
Then I saved it as a.c
But it did not compile.I had following error using "gcc a.c -o a.exe"
d:/djgpp/tmp\ccAP9JCv.s: Assembler messages:
d:/djgpp/tmp\ccAP9JCv.s:19: Error: Rest of line ignored. First ignored
character
is `,'.
content og environ.txt:
"
ALLUSERSPROFILE=E:\Documents and Settings\All Users
APPDATA=E:\Documents and Settings\Alireza\Application Data
CommonProgramFiles=E:\Program Files\Common Files
COMPUTERNAME=KELOAS-4Z7KQ4IY
ComSpec=E:\WINDOWS\system32\cmd.exe
DJGPP=d:/djgpp/djgpp.env
HELPFILES=D:\DOSPROGS\C700\HELP\*.HLP
HOMEDRIVE=E:
HOMEPATH=\Documents and Settings\Alireza
INCLUDE=D:\Program Files\VC98\atl\include;D:\Program
Files\VC98\mfc\include;D:\Program Files\VC98\include
INIT=D:\DOSPROGS\C700\INIT
LIB=D:\Program Files\VC98\mfc\lib;D:\Program Files\VC98\lib
LOGONSERVER=\\KELOAS-4Z7KQ4IY
MSDevDir=D:\Program Files\Microsoft Visual Studio\MSDev98
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=D:\Program Files\Borland\Delphi5\Projects\Bpl;E:\Program
Files\Borland\vbroker\jre\Bin;E:\Program
Files\Borland\vbroker\Bin;D:\Program
Files\Borland\Delphi5\Bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\System32
\Wbem;D:\Program Files\Borland\Delphi5\Projects\Bpl;E:\Program
Files\Borland\vbroker\jre\Bin;E:\Program
Files\Borland\vbroker\Bin;D:\Program
Files\Borland\Delphi5\Bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\System32
\Wbem;E:\PROGRA~1\Negatory\ASMSTU~1\Assemblers\TASM;D:\TCWIN45\BIN;D:\DOSPRO
GS\C700\BIN;D:\TCWIN45\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;F:\2.6;F:\2.6;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0806
ProgramFiles=E:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=E:
SystemRoot=E:\WINDOWS
TEMP=E:\DOCUME~1\Alireza\LOCALS~1\Temp
TMP=E:\DOCUME~1\Alireza\LOCALS~1\Temp
USERDOMAIN=KELOAS-4Z7KQ4IY
USERNAME=Alireza
USERPROFILE=E:\Documents and Settings\Alireza
windir=E:\WINDOWS
"
output of go32-v2:
"
go32/v2 version 2.0 built Dec 24 1999 17:46:57
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
well as v1 binaries (old makefiles). Put ahead of the old go32 in your
PATH
but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.
DPMI memory available: 57129 Kb
DPMI swap space available: 0 Kb
"
outpu of "gcc a.c -o a.exe -v"
"
Reading specs from d:/djgpp/lib/gcc-lib/djgpp/2.952/specs
gcc version 2.95.2 19991024 (release)
d:/djgpp/lib/gcc-lib/djgpp/2.952/cpp.exe -lang-c -v -D__GNUC__=2 -D__GNUC_MI
NOR
__=95 -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS -D__unix__ -D__i386__ -D__GO32_
_ -D
__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__DJGPP=2 -D__MSDOS -As
yste
m(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -Acpu(i386) -Amachine(i3
86)
-Di386 -D__i386 -D__i386__ -D__tune_pentium__ -imacros
d:/djgpp/lib/../include/s
ys/version.h -remap a.c d:/djgpp/tmp\ccu18iBg.i
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
d:/djgpp/include
d:/djgpp/lib/gcc-lib/djgpp/2.952/include
d:/djgpp/include
End of search list.
The following default directories have been omitted from the search path:
$DJDIR/lang/cxx
$DJDIR/lib/gcc-lib/djgpp/2.952/../../../../djgpp/include
End of omitted list.
d:/djgpp/lib/gcc-lib/djgpp/2.952/cc1.exe
d:/djgpp/tmp\ccu18iBg.i -quiet -dumpba
se a.c -version -o d:/djgpp/tmp\ccDUFRFi.s
GNU C version 2.95.2 19991024 (release) (djgpp) compiled by GNU C version
2.95.2
19991024 (release).
d:/djgpp/bin/as.exe -o d:/djgpp/tmp\cc6t9ddo.o d:/djgpp/tmp\ccDUFRFi.s
d:/djgpp/tmp\ccDUFRFi.s: Assembler messages:
d:/djgpp/tmp\ccDUFRFi.s:19: Error: Rest of line ignored. First ignored
character
is `,'.
"
I unzipped the following files:
djdev203.zip gcc2952b.zip bnu27b.zip gpp2952b.zip txi40b.zip
faq230b.zip
Thanks a lot.
Bye.
Customer Service:
Learn More about Irangate's Late Night, & Low Traffic discounts,
Please visit: http://members.irangate.net/percentdiscount.php
Delivered to you by Irangate Electronic Mail Service!
- Raw text -