Message-ID: <003001bfdf0a$774c0140$1512ddcc@lhaglund> From: "Josh Haglund" To: References: <395735B5 DOT 12710 DOT 6010EF AT localhost> Subject: Re: is it possible to use strip option in call to compiler Date: Sun, 25 Jun 2000 20:04:21 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Reply-To: djgpp AT delorie DOT com I use -s when compiling a chess program and then I enter strip chess.exe after to reduce the size even more. # DOS target = DOS CC = gcc CFLAGS = -fomit-frame-pointer -fforce-mem -ffast-math -march=i586 -O CPP = $(CC) LDFLAGS = -s # opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \ # -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B # asm = X86.o Hope this is of help, 8>) Josh Haglund lhaglund AT wiktel DOT com ----- Original Message ----- From: To: Sent: Sunday, June 25, 2000 7:51 PM Subject: is it possible to use strip option in call to compiler > Hello, > was just wondering if it is possible to invoke > strip exe as a flag to compiler > when one compiles one can put -g option to > add extra debug info. > > is it possible to put -s option to strip or does > one really need to invoke strip exe after > compilation takes place (ie new command in > batch file call) > > With best regards - leon