Re: Cross compilation
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
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list
Relevant Pages
- Can gcc and xlC coexist?
... We've got several applications that compile on a common build system ... Some of these apps are now destined to be ported to Linux, ... it is compiled under GCC on all the supported platforms. ... current operation of the xlC compiler in any way. ... (comp.unix.aix) - Re: Cross Compiler for Python?
... The 64 will run 32 bit programs, including the 32 bit gcc. ... gain quite an insight into Linux. ... You mention pcmcia. ... Compile and install can be direct to card ... (comp.lang.python) - Re: Cross Compiler for Python?
... gnu's gcc will compile to 16,32 or 64 bit intel architectures ... The 64 will run 32 bit programs, including the 32 bit gcc. ... Like I said, it's not cookbook, but it will get you there and you will ... gain quite an insight into Linux. ... (comp.lang.python) - Re: Compiler flags
... compile .c files. ... The usual default compiler on Linux is gcc (it's actually a collection ... of compilers for several languages, ... If you have questions about Linux, ... (comp.lang.c) - Install DBI/DBD on 64 bit linux (eagle64)
... I am trying to compile Oracle:DBD for a full Oracle 10g install on a Redhat ... recompile with -fPIC ... DBI whith this flag and I am using mutithreading. ... Built under linux ... (perl.dbi.users) |
|