delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/30/05:04:19

From: zidharta AT geocities DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to install Djgpp
Date: Fri, 30 Jul 1999 00:09:27 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 48
Message-ID: <7nqqfh$ebd$1@nnrp1.deja.com>
References: <933121566 AT p20 DOT f44 DOT n478 DOT z2 DOT FidoNet DOT ftn> <iXCn3.4361$Vb4 DOT 21003 AT tundra DOT ops DOT attcanada DOT net>
NNTP-Posting-Host: 202.49.198.2
X-Article-Creation-Date: Fri Jul 30 00:09:27 1999 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)
X-Http-Proxy: 1.0 x38.deja.com:80 (Squid/1.1.22) for client 202.49.198.2
X-MyDeja-Info: XMYDJUIDsidxidzid
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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