Every gcc -m32 build fails!

pc@linux-vvmq:~/Programming/tests> gcc -m32 test.c
/usr/lib64/gcc/x86_64-suse-linux/4.6/…/…/…/…/x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file /usr/lib64/gcc/x86_64-suse-linux/4.6/crtbegin.o' is incompatible with i386 output /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file /usr/lib64/gcc/x86_64-suse-linux/4.6/crtend.o’ is incompatible with i386 output
collect2: ld returned 1 exit status

test.c

int main(int argc, char **argv){}

I was trying to compile the Google dart source code, and it only supports 32bit builds but my machine has 64bit Opensuse 12.1 installed. I think I got everything working except the aforementioned error, which I have no idea how to fix. Any help appreciated, I don’t even know why it would look into a lib64 folder in the first place.
In the process of getting it to work, I have installed these: glibc-devel glibc-devel-32bit libgcc46-32bit libstdc++46-devel-32bit

Am 19.12.2011 20:16, schrieb Maxxi12:
> In the process of getting it to work, I have installed these:
> glibc-devel glibc-devel-32bit libgcc46-32bit libstdc++46-devel-32bit
>
It seems you have gcc-32bit not installed.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram