Sidik,
> Date: Fri, 15 Nov 96 12:26:00 -1000
>
> To: Allan Brighton
> cc: malbrech@eso.org
>
> From: Sidik Isani
>
> Subject: skycat linux ready
>
> Return-Path: <isani@cfht.hawaii.edu>
> In-Reply-To: <328B2423.6EDE@eso.org> from "Allan Brighton" at Nov 14, 96 02:5
> 2:35 pm
>
> Hello -
>
> Ok, the Linux version is done. I must say, I am very impressed with
> the program. It is very, very slick. I experimented a little with
> getting the right headers into CFHT images so the WCS will work.
> It seems like it shouldn't be that hard, except for rotation. Some of
> the cameras can end up in some arbitrary angle. Also, what about all
> those calibration constants that some of the images have? Are those
> also for WCS? How close do we get without them?
>
> So anyway, I've prepared a patch file which I'm quite sure won't affect
> anything on the other platforms, and which fixes byte order problems
> on PC's (and presumably DEC machines as well.) Take a look at it and
> see what you think. I ended up isolating it all in ImageTemplates.C,
> by using sizeof(). Any unnecessary code gets optimized away by the
> compiler. I promise :-/ This way there are only 3 cases for arbitrary
> 2,4, and 8 byte data chunks. If we can include this, or something like
> it in the main source code, then I will be able to "just type make" on
> my PC to build un-exec's of future releases under Linux. If you want me
> to re-do the patch for a more recent version of your source tree, I
> can do that too.
>
> There are three files of interest: the patch diffs, a static binary,
> and a stripped static binary, in case you already want to make the Linux
> versions available. This stuff is at:
>
> ftp://otto.cfht.hawaii.edu/pub/skycat/
>
> or I can deposit it somewhere else. The connection between ESO-CFHT can
> get slow sometimes.
>
> Be seeing you,
>
> - Sidik
>
> P.S. Versions, versions, in case it matters ...
> I removed the OS version number from the filename because it was compiled
> on a 2.0.0 system with libraries and include files that were out around
> the time of 1.2.8, and should run on 1.0.x, 1.2.x, 2.0.x. (I tested
> 2.0 and 1.2 and it seemed fine. I can't boot 1.0 on my PC because it
> doesn't support my SCSI card.) I'm not sure what the shared memory and
> mmap support was like in the order versions of the Linux kernel, but it
> seems to atleast load an image from disk and display it properly.
> The "x86" in the filename is to indicate that its for x86 class machines,
> and not alpha-linux or sparc-linux. The "aout" is so people know they
> don't have to have a newer "elf" system to be able to run it. You could
> of course name it whatever you like. Same thing with the inline function
> I added "NTOH". It's probably easiest to search-and-replace it in the
> diff file before patching.
>
> Gcc version is 2.7.2
> libg++ is "2.7.0a"
Thank you very much for porting skycat to linux. We will put a copy of
your binaries on the distribution directory and add a note on the
skycat home page about it. Do you have some personal homepage to which
we can point to?
We will look at including your changes into the core version as soon
as we get a quiet minute -- next week is going to be very busy because
we are hosting a collaboration meeting with the Gemini guys here
I am sure they will like the good news as well.
Cheers,
--Miguel
|