Mail Archives: djgpp/1998/08/02/16:43:52
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 -