SPECS: binutils.spec - cosmetics (by sebastian at oclab.ano.pl)

Jakub Bogusz qboosh w pld-linux.org
Nie, 20 Lut 2005, 11:55:50 CET


On Sun, Feb 20, 2005 at 11:22:57AM +0100, Paweł Sikora wrote:
> Poza tym ta wersja jest popsuta.
> 
> # gcc -O tmp.c -g -o tmp
> # strip tmp
> BFD: tmp: warning: Empty loadable segment detected, is this intentional ?
> BFD: tmp: warning: Empty loadable segment detected, is this intentional ?
> strip: there are no sections to be copied!
>        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  to chyba jakis zart.
> 
> # echo $?
> 1

Co w tmp.c?

$ echo 'int main() { }' > tmp.c
$ gcc -O tmp.c -g -o tmp
$ strip tmp
$ echo $?
0

gcc-3.3.5-1, binutils-2.15.94.0.2.2-1.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




Więcej informacji o liście dyskusyjnej pld-devel-pl