www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/02/16:43:52

From: stp AT shell DOT flite DOT net
Date: Sun, 2 Aug 1998 16:46:33 -0400 (EDT)
To: djgpp AT delorie DOT com
Subject: Tried the suggestion
Message-ID: <Pine.LNX.3.96.980802164341.17266B-100000@shell.flite.net>
MIME-Version: 1.0

Yeah, I tried the suggestion of putting the functions after main. I put
the declarations at the top. Then put the name of the function and the
braces at the end of the program and when I compiled and linked it didnt'
get any smaller even after striping and compressing. Can anyone tell me
waht I did wrong? Also could it be what command line switches I'm giving
th to the gcc?
Here's the commands that I'm using.
gcc -g -c prog.cpp -o prog.o
gcc -o prog.exe prog.o -lstdcx
I got these commands after I compiled and linked with rhide, if anyone has
another command line switches I could try. I'd apresiate it.


- Raw text -


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