X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: strange error Date: 20 Jul 2004 09:22:05 GMT Lines: 26 Message-ID: <2m46htFis9c7U1@uni-berlin.de> References: <7137-Tue20Jul2004073550+0300-eliz AT gnu DOT org> <20040720050354 DOT 16492 DOT 00000149 AT mb-m14 DOT aol DOT com> X-Trace: news.uni-berlin.de DN2a6ycWWzqnWwspXrqf6QuEZ1L23D+YHlKhgkUdEoYVyvdyH5BSYTUjsN X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Sterten wrote: > I changed my gc.bat now to > gcc %1.c -g -O2 -o %1.exe > strip %1.exe > echo ----------------------------------------- >>%1.exe > echo ----------------------------------------- >>%1.exe > echo ----------------------------------------- >>%1.exe > type %1.c >>%1.exe This batch file is a menace to society. *Don't* muck with .exe files like that if you expect tools to continue working on them with any degree of reliability. In particular, it's completely pointless to compile using the -g flag if the immediate next step is to strip the resulting .exe file. You're making it impossible for [bfd]symify to help you. And for heaaven's sake, please do yourself and everyone else a favour and learn some actual C some time. What you've posted is only marginally different in legibility from FORTRAN 66. Which was a fine programming langue in its day, but that was almost 40 years ago. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.