linux - using gcc -m32 flag cannot find -lgcc and -lgcc_s -


i'm trying compile 32 bit assembly code(nasm) on 64 bit linux, can't, have tried others tutorials , installed ia32-libs...

when try run as:

gcc asm1.o -o asm1 

i386 of file input `asm1.o' incompatible output i386:x86-64

and when try run as:

gcc -m32 asm1.o -o asm1 

/usr/bin/ld: cannot find -lgcc /usr/bin/ld: connot find -lgcc_s collect2: error: ld returned 1 exit status

thanks helps.

obs: sorry english, i'm not us.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -