Re: Mixing 64 and 32-bit code

2008-08-08 Thread Andrea Venturoli
Chuck Swiger ha scritto: The simplest answer is that it won't work-- the syscall interface and function argument/return-value sizes are going to be different between 32-bit and 64-bit code. I was quite sure of this :-( [1]: You can look up how thunking between Win16 and Win32 code worked

Mixing 64 and 32-bit code (was: Linking amd64 binary with a 32-bit linux library)

2008-08-07 Thread Andrea Venturoli
Kris Kennaway ha scritto: You can't mix and match Linux and FreeBSD code in the same binary. Sorry for stepping in, but I have a similar question I asked in the past and didn't get any answer: is it possible to mix and match 32-bit and 64-bit FreeBSD code? I have a closed source 32-bit

Re: Mixing 64 and 32-bit code

2008-08-07 Thread Kris Kennaway
Andrea Venturoli wrote: Kris Kennaway ha scritto: You can't mix and match Linux and FreeBSD code in the same binary. Sorry for stepping in, but I have a similar question I asked in the past and didn't get any answer: is it possible to mix and match 32-bit and 64-bit FreeBSD code? I have a

Re: Mixing 64 and 32-bit code (was: Linking amd64 binary with a 32-bit linux library)

2008-08-07 Thread Chuck Swiger
On Aug 7, 2008, at 12:31 PM, Andrea Venturoli wrote: You can't mix and match Linux and FreeBSD code in the same binary. Sorry for stepping in, but I have a similar question I asked in the past and didn't get any answer: is it possible to mix and match 32-bit and 64-bit FreeBSD code? I have