Bug#476645: gcc-4.2: -m32 switch broken?

2008-04-18 Thread Friedrich
Package: gcc-4.2 Version: 4.2.3-3 Severity: normal See the following code: #include stdio.h int main (void){ puts (Hallo Welt); return 0; } compiling with gcc-4.2 (in 64-bit mode gives no error and just runs) hello% gcc-4.2 hello.c [EMAIL PROTECTED]:~/programming/C/hello% ./a.out Hallo

Bug#476645: gcc-4.2: -m32 switch broken?

2008-04-18 Thread Arthur Loiret
On Fri, Apr 18, 2008 at 09:28:56AM +0200, Friedrich wrote: gcc-4.2 -m32 hello.c /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libgcc_s.so when searching