On Mon, 30 Apr 2007, Mike Frysinger wrote: > On 4/30/07, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote: > > before i try this, i want to verify that it should (theoretically) > > work. i want to run a 64-bit kernel (with 32-bit emulation mode) on > > my 32-bit install of fedora core. > > it works just fine > > > as i understand it, i can use my (currently building) x86-64 > > toolchain to cross-compile the kernel for 64 bits, plus the 32-bit > > emulation, after which i should just be able to boot the new 64-bit > > kernel, is that right? > > yes ok, i'm almost there. so far, i've: 1) built an (apparently) working x86_64 toolchain using crosstool 2) used that toolchain to build and install a 64-bit kernel 3) booted (successfully) under the new 64-bit kernel, verifying that it's 64-bit with "uname -a" 4) used the aforementioned toolchain to compile "hello, world" but here's where i run into trouble -- when i try to run the resulting a.out for "hello, world", i get "No such file or directory". i'm running it in the current directory with: $ ./a.out but still no luck. the "file" command shows me that it's there, with type "ELF 64-bit LSB executable, AMD x86-64 ..." but every attempt to run it gives me that error message. i'm sure i'm forgetting something trivial. ideas? rday -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ