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

Re: dual boot different platforms from the same partitions in a host



On Thu, May 10, 2007 at 11:53:32PM +0100, Tom Vajzovic wrote:
> On Thu, 2007-05-10 at 09:16 -0400, Douglas Allan Tutty wrote:
> > On Thu, May 10, 2007 at 01:25:00PM +0100, Tom Vajzovic wrote:
> 
> > Did you know that there are 32-bit libs available to run most 32-bit
> > apps under amd64?  
> > 
> > Perhaps you should tell us what you really want to do under amd64 that
> > you can't at the moment.
> 
> I have a header & binary only library (.so) that is compiled for i386.
> I need it to control a piece of lab equipment.
> 
> How can I compile my program and link it with the 32 bit libraries?  
> 
> Do I have to compile my whole program with a 32 bit target?  How do I do
> that?
> 
> Alternatively can I have some .o compiled for amd64 and linking to the
> 64 bit c library  and other libraries, and still call the functions in
> my 32 bit library?  How do I do that?
> 

Hopefully, someone else has done that; I haven't.

Worst case: set up a minimal i386 chroot (like some people do who want
amd64 but also want flash support).

Or, presumably your piece of lab equipment doesn't put too much load on
the system, use something like qemu.

Doug.



Reply to: