| delorie.com/archives/browse.cgi | search |
| From: | "Michael Farnham" <mcfarnham DOT notme AT prodigy DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <3B6906F5 DOT 98FAB93A AT sandia DOT gov> <7458-Fri03Aug2001112601+0300-eliz AT is DOT elta DOT co DOT il> |
| Subject: | Re: Files created by gcc/g77 |
| Lines: | 41 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.50.4522.1200 |
| X-Mimeole: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
| Message-ID: | <Ucya7.1286$CE6.360924388@newssvr15.news.prodigy.com> |
| NNTP-Posting-Host: | 216.50.157.27 |
| X-Complaints-To: | abuse AT prodigy DOT net |
| X-Trace: | newssvr15.news.prodigy.com 996847540 3966267 216.50.157.27 (Fri, 03 Aug 2001 10:05:40 EDT) |
| NNTP-Posting-Date: | Fri, 03 Aug 2001 10:05:40 EDT |
| Organization: | Prodigy Internet http://www.prodigy.com |
| Date: | Fri, 03 Aug 2001 14:05:40 GMT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message news:7458-
> In the meantime, if you want to get rid of the garbage, I
> suggest to create programs like this:
>
> gcc -o foo foo.c
> stubify foo
Eli
This is the second time I have seen the suggestion that we
should run stubify to remove garbage from our executables.
My experiments seem to show that running stubify after
the compile and link processes does not make any difference.
The only references to stubify I could find in the
documentation were in the FAQ. These references seem to
imply that stubify is automatically run during the
compilation process. In fact one of the questions in the
FAQ was something along the lines of 'the compile fails
because stubify.exe could not be found'. Am I incorrect
in my assumption that stubify.exe is automatically run
during compilation?
I also created a simple C program and compiled it using
the command line "gcc foo.c -o foo.exe". After the compile
and link process completed I created a copy of foo.exe
named foo1.exe. I ran stubify on foo.exe and then did a
file compare on foo.exe and foo1.exe and there were no
differences. What am I missing? Does stubify.exe only
make a difference on non-trivial programs?
Regards
Mike Farnham
--
Honesty is the best policy. If you
can fake that, you've got it made.
-- George Burns
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |