Re: running 64-bit kernel on 32-bit distro

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

 



On Mon, 30 Apr 2007, Mike Frysinger wrote:

> On 4/30/07, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
> > On Mon, 30 Apr 2007, Mike Frysinger wrote:
> > > On 4/30/07, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
> > > >   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".
> > >
> > > you're assuming too much ... you have a 32bit install, not a 64bit
> > > install, so unless you build that hello world statically, it's going
> > > to require the 64bit ldso and shared libraries from glibc in the
> > > proper lib directories in /
> >
> > another option being building those 64-bit libs and installing them
> > elsewhere and playing games with "rpath" and the like, right?
>
> off the top of my head, you'd just need to override -rpath and
> -dynamic-linker

actually, it's "--dynamic-linker" but i think i have enough to play
with and this is getting pretty far afield from kernel topics.
thanks.

rday

p.s.  if there's a more appropriate place to discuss this topic, by
all means, let me know.  i suspect i'm going to be digging into this
in some detail.

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

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

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux