Can someone with cygwin/mingw access tell me what .s file gcc compiles this .c file to:
static int test[100];
void *x = &test;
Thanks!
-Chris
Can someone with cygwin/mingw access tell me what .s file gcc compiles this .c file to:
static int test[100];
void *x = &test;
Thanks!
-Chris
This is what I got from
gcc -S t.c
.file "t.c"
.globl _x
.data
.align 4
_x:
.long _test
.lcomm _test,400
.file "test0.c"
.globl _x
.data
.align 4
_x:
.long _test
.lcomm _test,400
Using gcc-4.2.4 on Cygwin/WinXP, with -c -O0 -S flags.
Chuck
thanks!