From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199701291716.MAA14817@sobolev.dsm.fordham.edu> Date: Wed, 29 Jan 1997 12:16:33 -0500 From: Art Werschulz Subject: can't make unstripped binaries 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 WWW 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <50adc28890dc3fc550e4b0955f06bf25.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199701291716.MAA14817@sobolev.dsm.fordham.edu> Date: Wed, 29 Jan 1997 12:38:24 -0500 (EST) From: Erik Troan Subject: Re: can't make unstripped binaries In-Reply-To: <199701291716.MAA14817@sobolev.dsm.fordham.edu> 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199701291750.MAA14847@sobolev.dsm.fordham.edu> Date: Wed, 29 Jan 1997 12:50:30 -0500 From: Art Werschulz Subject: Re: can't make unstripped binaries 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 WWW 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199701292238.PAA10057@ellpspace.math.ualberta.ca> Date: Wed, 29 Jan 1997 15:38:37 -0700 (MST) From: Michal Jaegermann Subject: Re: can't make unstripped binaries In-Reply-To: <199701291750.MAA14847@sobolev.dsm.fordham.edu> > > > 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