From: jem@sunSITE.unc.edu (Jonathan Magid) Subject: Re: Compiling XV; general porting problems Date: Wed, 14 Apr 1993 21:59:30 GMT
In article <1993Apr14.200018.21295@aio.jsc.nasa.gov> mancus@sweetpea.jsc.nasa.gov (Keith Mancus) writes:
> I'm trying to compile xv 2.21 under Linux 0.99.6. gcc can make the
>libjpeg.a just fine, but it runs out of memory and dumps when I attempt
>to make libtiff.a. Since I have 12M RAM and a 10M swap partition, this
>must either be a gcc bug or bad options.
This is a well known bug with gcc, not just the Linux version. Gcc will
take outrageous amounts of memory when compiling large static initialized
arrays. Fear not! there are people with such ridiculous amounts of memory
and swap space; Rob Hooft is one of them. You can find his jump-tabled
compilations of lib<tiff|jpeg|etc> in /pub/Linux/apps/graphics/libgr-1.0.tar.z
on sunsite.unc.edu.
> I was able to get tcsh to compile by using -DVMS_POSIX, but xv,
>while supplying a variety of Makefiles, does not include one for POSIX
>or Linux. I had very little trouble compiling this same program on the
>SGI's at work. Could someone point me in the right general direction?
There is ported source for xv in /pub/Linux/X11/xapps/graphics/xv221.tar.z
also on sunsite.
jem.