Re: StrongARM tactics
Ryan Schultz <firstname.lastname@example.org> writes:
> On Thursday 08 December 2005 04:41 am, you wrote:
>> email@example.com (Aaron M. Ucko) writes:
>> > Thomas Viehmann <firstname.lastname@example.org> writes:
>> >> +pcsx: i386 # i386 assembly
>> > AFAICT, this is only because its Linux/Makefile forces CPU to ix86
>> > unconditionally.
>> Write patch. At a minimum the package should be "i386 amd64". In
>> general anything with "Arch: i386" should add amd64.
> PCSX 1.6 does not compile with GCC4 when the ix86 flag is not specified, even
> on i386. I don't know about amd64, but my other partially-ASM (using NASM
> like PCSX) package (libopenspc) will not build on amd64, so I'm assuming that
> the same is true here -- I'll change it if someone can confirm that it will
> build and work.
They will if you do it right. Look at lilo, grub or that other
bootloader amd64 has.
Basicaly you just have to use "gcc -m32" for the C/asm code you
compile with gcc. nasm should always make 32bit code I think.
You will need any libs you use (apart from libc6, zlib and a few more
X libs that ia32-libs has already) as 32bit version though, if any. It
probably will need some work to get it to build but it would be worth
it. Ask on debian-amd64 for someone to help porting if you are willing
to support this in the future.