This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: running 64-bit binaries on a 32-bit OS



On Apr 24, 2007, at 10:52 AM, Robert P. J. Day wrote:



sadly, i don't remember if i asked about this before but here's what i want to do.

  i have a number of AMD athlon 64 systems, but i'm going to install
on them only the 32-bit version of fedora core and, on these systems,
i want to demonstrate building a cross-compiler using crosstool.

  AFAIK, i can build a 64-bit toolchain, then compile a simple "hello,
world" using that, right?

yes


i can't just run a 64-bit binary on the
32-bit OS, so testing a 64-bit binary would truly show that the
toolchain was built correctly, right?

yes. You can also use file command on generated binary and check the arch on which it is supposed to run.


with all of the libs properly
built and so on.

rday

--
====================================================================== ==
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA


http://fsdev.net/wiki/index.php?title=Main_Page
====================================================================== ==


--
For unsubscribe information see http://sourceware.org/lists.html#faq





Khem Raj <kraj@mvista.com>
MontaVista Software Inc.



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]