Bug#690531: Help needed: Porting IRAF to MIPS

2014-05-09 Thread Ole Streicher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08.05.2014 16:37, David Kuehling wrote: (I did all coding against Ole's test-case tarball and not against actual IRAF sources). Rename sources at your will and/or use links/#include/.include/makefile rules/autoconf code or whatever else to

Bug#690531: Help needed: Porting IRAF to MIPS

2014-05-08 Thread Ole Streicher
Hi David, On 08.05.2014 02:07, David Kuehling wrote: Patch below works with both static and shared libraries. Makefile patched so that shared library test can be built as well (set LIBEXT to either .a or .so and comment out CFLAGS+=-fPIC accordingly). Thank you very much for your patch! I

Bug#690531: Help needed: Porting IRAF to MIPS

2014-05-08 Thread Ole Streicher
I will test it on both and have a symbolic link in the package for mips. The package is also probably not released as Debian package (except there is a demand to have this available for other programs than IRAF), but as part of IRAF. Best Ole On 08.05.2014 11:31, Thomas Bogendoerfer wrote: On

Bug#690531: Help needed: Porting IRAF to MIPS

2014-05-08 Thread Thomas Bogendoerfer
On Thu, May 08, 2014 at 02:07:45AM +0200, David Kuehling wrote: Index: zsvjmp/zsvjmp-mipsel.s why only mipsel ? The code should look the same for big endian MIPS... Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea.

Bug#690531: Help needed: Porting IRAF to MIPS

2014-05-08 Thread David Kuehling
Thomas == Thomas Bogendoerfer tsbog...@alpha.franken.de writes: On Thu, May 08, 2014 at 02:07:45AM +0200, David Kuehling wrote: Index: zsvjmp/zsvjmp-mipsel.s why only mipsel ? The code should look the same for big endian MIPS... Because that's the name his test-case Makefile expected :) :

Bug#690531: Help needed: Porting IRAF to MIPS

2014-05-07 Thread David Kuehling
On 05.05.2014 12:16, Ole Streicher wrote: since a while, I am working to bring the IRAF package [1] into Debian [2]. I'd like to make the package working on as many Debian platforms as possible. The major problem here is that IRAF needs a small piece of assembler code that provides a (sort

Bug#690531: Help needed: Porting IRAF to MIPS

2014-05-07 Thread David Kuehling
David == David Kuehling dvdkh...@posteo.de writes: Attached you'll find a patch against your zsvjmp.tar.gz test-case that adds mipsel support. This seems to work on my debian squeeze mipsel system, i.e. running 'make test' outputs: correction: I actually tested this on a debian /wheezy/

Bug#690531: Help needed: Porting IRAF to MIPS

2014-05-07 Thread David Kuehling
The code needs some more changes to be compiled and work as part of a shared library. Note: you need to compile assembly sources via '$(CC) $(CFLAGS) -c' so that options like -fPIC make it to the assembler. Patch below works with both static and shared libraries. Makefile patched so that shared