delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/25/21:05:06

Message-ID: <003001bfdf0a$774c0140$1512ddcc@lhaglund>
From: "Josh Haglund" <lhaglund AT wiktel DOT com>
To: <djgpp AT delorie DOT com>
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
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: <Leon AT caresystems DOT com DOT au>
To: <djgpp AT delorie DOT com>
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

- Raw text -


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