* can't make unstripped binaries
@ 1997-01-29 17:16 Art Werschulz
1997-01-29 17:38 ` Erik Troan
0 siblings, 1 reply; 4+ messages in thread
From: Art Werschulz @ 1997-01-29 17:16 UTC (permalink / raw)
Hi.
On RedHat 4.0 for Alpha Linux: g++ and gcc don't make stripped
binaries:
> gcc -g -o hello hello.c
> hello
hello, world
> file hello
hello: ELF 64-bit LSB executable, version 1, stripped
> gcc --version
2.7.2
???
--
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y?
Internet: agw@dsm.fordham.edu <a href="http://dsm.fordham.edu/~agw/">WWW</a>
ATTnet: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: can't make unstripped binaries
1997-01-29 17:16 Art Werschulz
@ 1997-01-29 17:38 ` Erik Troan
0 siblings, 0 replies; 4+ messages in thread
From: Erik Troan @ 1997-01-29 17:38 UTC (permalink / raw)
On Wed, 29 Jan 1997, Art Werschulz wrote:
> On RedHat 4.0 for Alpha Linux: g++ and gcc don't make stripped
> binaries:
>
> > gcc -g -o hello hello.c
> > hello
> hello, world
> > file hello
> hello: ELF 64-bit LSB executable, version 1, stripped
> > gcc --version
> 2.7.2
This hasn't worked on Linux as long as I can remember. I always use
install -s or strip.
Erik
-------------------------------------------------------------------------------
| I told you I'm not very bright -- Sugar in "Some Like It Hot" |
| "RPM is the greatest thing since swap-space" - Bryan C. Andregg
| |
| Erik Troan = ewt@redhat.com = ewt@sunsite.unc.edu |
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: can't make unstripped binaries
@ 1997-01-29 17:50 Art Werschulz
1997-01-29 22:38 ` Michal Jaegermann
0 siblings, 1 reply; 4+ messages in thread
From: Art Werschulz @ 1997-01-29 17:50 UTC (permalink / raw)
Hi.
> On Wed, 29 Jan 1997, Art Werschulz wrote:
>
> > On RedHat 4.0 for Alpha Linux: g++ and gcc don't make stripped
> > binaries:
> >
> > > gcc -g -o hello hello.c
> > > hello
> > hello, world
> > > file hello
> > hello: ELF 64-bit LSB executable, version 1, stripped
> > > gcc --version
> > 2.7.2
>
> This hasn't worked on Linux as long as I can remember. I always use
> install -s or strip.
Is file broken, or is there a gcc problem here?
--
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y?
Internet: agw@dsm.fordham.edu <a href="http://dsm.fordham.edu/~agw/">WWW</a>
ATTnet: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: can't make unstripped binaries
1997-01-29 17:50 can't make unstripped binaries Art Werschulz
@ 1997-01-29 22:38 ` Michal Jaegermann
0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1997-01-29 22:38 UTC (permalink / raw)
>
> > On Wed, 29 Jan 1997, Art Werschulz wrote:
> >
> > > On RedHat 4.0 for Alpha Linux: g++ and gcc don't make stripped
> > > binaries:
> > >
> > > > gcc -g -o hello hello.c
> > > > file hello
> > > hello: ELF 64-bit LSB executable, version 1, stripped
>
> Is file broken, or is there a gcc problem here?
gcc problem? gcc would have a big problem if it would produce stripped
binaries when -g flag (debug) is in use. Anyway, Unix compilers **never**
produce stripped binaries unless explicitely asked (-s flag). If you
would find one which does not behave like that then I would classify
that as undoubtely broken.
'file', on the other hand, is less than forthcoming. :-) This should
be repaired, but this is really minor. Use 'size' for now.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-01-29 22:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-29 17:50 can't make unstripped binaries Art Werschulz
1997-01-29 22:38 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1997-01-29 17:16 Art Werschulz
1997-01-29 17:38 ` Erik Troan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox