Re: [Qemu-devel] Compiling qemu as position-independent code on an x86_64 linux host

2006-12-15 Thread G Portokalidis
I managed to compile and use qemu as a shared library for the ii386 user space emulator. I didn't use -fPIC to compile anything and simply generated the lib by adding something like this in Makefile.target: $(CC) -shared -Wl,-soname,libqemu.so.0 -o libqemu.so.0 $(LIBOBJS) -lc I am not sure it sh

RE: [Qemu-devel] Compiling qemu as position-independent code on an x86_64 linux host

2006-12-14 Thread Paul Robinson
> Hello Paul, > I also need to use qemu as a shared library, so i was wandering whether you had any luck with this? > > On 03/11/06, Paul Robinson <[EMAIL PROTECTED]> wrote: > > ... Hello Georgios, The short answer is not yet. I made a start but then had to do other things. I'll be looking at this

Re: [Qemu-devel] Compiling qemu as position-independent code on an x86_64 linux host

2006-12-14 Thread G Portokalidis
Hello Paul, I also need to use qemu as a shared library, so i was wandering whether you had any luck with this? On 03/11/06, Paul Robinson <[EMAIL PROTECTED]> wrote: Hi guys, I'm trying to use parts of qemu in an application that must be compiled as a shared library (i.e. a .so file). The co

Re: [Qemu-devel] Compiling qemu as position-independent code on an x86_64 linux host

2006-11-03 Thread Daniel Jacobowitz
On Fri, Nov 03, 2006 at 09:42:18PM +, Paul Brook wrote: > On Friday 03 November 2006 18:15, Paul Robinson wrote: > > Hi guys, > > > > I'm trying to use parts of qemu in an application that must be compiled > > as a shared library (i.e. a .so file). > > The code must be compiled with the -fPIC o

Re: [Qemu-devel] Compiling qemu as position-independent code on an x86_64 linux host

2006-11-03 Thread Paul Brook
On Friday 03 November 2006 18:15, Paul Robinson wrote: > Hi guys, > > I'm trying to use parts of qemu in an application that must be compiled > as a shared library (i.e. a .so file). > The code must be compiled with the -fPIC option otherwise the linker > refuses to create a .so file > but doing th