Hi,
Sorry, I miss that.
$ /usr/bin/nm -B test.o
00000000 b .bss
00000000 d .data
00000000 N .stab
00000000 N .stabstr
00000000 t .text
U ___main
U __alloca
00000010 T _main
00000000 T _nm_test_func
00000010 C _nm_test_var
Thanks.
Ang Beepeng
Paolo Bonzini-6 wrote:
>
>>> Please create a file with these lines:
>>>
>>> char nm_test_var;
>>> void nm_test_func(void);
>>> void nm_test_func(void){}
>>> int main(){nm_test_var='a';nm_test_func();return(0);}
>>>
>>> and do
>>>
>>> gcc -g -O2 -c test.c
>>> /usr/bin/nm -B test.o
>
> What about this? :-)
>
> Paolo
>
>
> _______________________________________________
> help-smalltalk mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>
>
--
View this message in context:
http://old.nabble.com/Windows-build-tp26422111p26910214.html
Sent from the Gnu - Smalltalk mailing list archive at Nabble.com.
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk