Re: Cross compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fernando Apesteguía wrote:
Helo list,

I'm using FC6 for x86_64. I need to compile a program for linux 32
bits. I tried with the -m32 flag to gcc, but I got:

core_recv.c:(.text+0x130): undefined reference to `__umoddi3'

and tons of ld warnings:

Just guessing, but try using gcc to do the link, again giving the -m32 switch instead of using ld.

-Andy


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux