Mail Archives: djgpp/1999/07/30/05:04:19
So strip.exe will compressed exe file
is it also work with other file than hello.exe ??
heap thanks in advance
dave
In article <iXCn3.4361$Vb4 DOT 21003 AT tundra DOT ops DOT attcanada DOT net>,
"DeHackEd" <not DOT given AT out> wrote:
> > Hello, how do You do, All?
> >
> > I'd install minimum of files required and it's work, small ;(
> > when I compile such:
> > gcc hello.c
> >
> > it's compiles, but creates 2 files: a.out & a.exe with size about
105 KB
> > How compile, that compile creates file 'hello.exe' but no any
'a.exe'
>
> That "a.exe" file IS your hello.exe. You didn't specify a filename,
so it
> used "a", and a.out is the same thing except DOS can't execute (2 k
> difference). 99% of the time deleting a.out is ok.
>
> To specify an output file, add the following to your command-line: -o
> hello.exe
>
> That's a hyphen oh (the small letter), and that specifies the output
file.
> This command-line option works with (almost) every other utility
DJGPP comes
> with that makes output files.
>
> If you want to make the EXE smaller, search the newsgroup for
something
> called "UPX", an EXE compressor that can bring "Hello world" to below
20k.
> Or just run "strip hello.exe"
>
> --
> DeHackEd
> No emails please, the address is fake.
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
- Raw text -