delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/22/17:04:19

Message-ID: <3BD48369.2000301@vif.com>
From: Sahab Yazdani <sahaby AT vif DOT com>
Organization: PheonixSoft Interactive
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4+) Gecko/20011005
X-Accept-Language: en-us
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP!! Please!
References: <3BD478A5 DOT 80002 AT earthlink DOT net>
Cache-Post-Path: www.vif.com!unknown AT ip216-239-69-70 DOT vif DOT net
X-Cache: nntpcache 2.4.0b4 (see http://www.nntpcache.org/)
Lines: 35
NNTP-Posting-Date: Mon, 22 Oct 2001 15:37:05 CDT
X-Trace: sv3-6MSL3lXMbAPHiON7hwc4sw7xwrTeIoyB3M0+Mxlzxw3/DWspeHIrOZi4FrsVjZsbwJh+7Vp2np9+84P!FPZ9b4rbCfqwz4wq8zmbkV7EBYu8r8uIsw6HDcJhtOs1EJ1qdOHO2jw=
X-Complaints-To: abuse AT GigaNews DOT Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
Date: Mon, 22 Oct 2001 20:37:05 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

why do you use a batch file???  why not just type

gcc file.c -o file.exe

at the command prompt??  this will invoke every step necessary to 
convert the source file "FILE.C" to the executable file "FILE.EXE"

choa.


Micah J. Kimbrough wrote:

> Hello,
>     I am programing a batch file to compile and link a project I am 
> working on. I am using a ms-dos box on Windows 98. I start off compiling 
> the project with something like c:\djcpp\bin\gcc.exe -c file.c and it 
> goes through each file with no errors or warnings. The last line I have 
> does the linking. I have c:\djcpp\bin\ld.exe -o file.exe file.o file.o 
> file.o ... etc. I have noticed that is reads only half the line and ends 
> in errors. Is there a way to get it to read the whole line and finish 
> the linking? Please help.
> 
> Thnak You,
> Micah J. Kimbrough
> 


-- 
*********************************************************
* Sahab Yazdani * "Reality is irrelevent, perception is *
* Thornhill S.S * everything." - Zeddicus Zu'l Zorander *
*********************************************************
* http://pheonixsoft.virtualave.net/                    *
*********************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019