[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OS X Jaguar No-Go



Here's an update on compiling pdp++ to work under the latest 'jaguar'
release of mac OS X (summary: close but no cigar).  The main
issue seems to be the use of gcc 3.1 -- any users moving to red hat
8.0 and gcc 3.2 will likely encounter these same issues too..

1. Interviews: got this to compile (by borrowing fixes from Michael
   Hines's IV for NEURON).  You can grab the updated source from:

ftp://grey.colorado.edu/pub/oreilly/pdp++/iv-pdp-r3.0.tar.gz

(this is along the lines of what dubrovsky contributed earlier but is
a more thorough update).

2. The iostream include files that are scanned in src/ta needed to be
   updated for 3.1, which includes the new standardized stream classes
   in libstdc++ that rely heavily on templates and are largely opaque
   to poor old maketa.  Therefore, I had to cook up some entirely
   synthetic include files that maketa can understand..  This
   eventually worked.

3. The show-stopper is that the libstdc++ included in jaguar does not
   contain ext/stdio_filebuf.h, which is essential for being able to
   load and save compressed files.  This causes src/ta/taiv_data.cc to
   fail to compile at around line 1872.  This code will need to be
   replaced with something that replaces the rdbuf with a
   stdio_filebuf that can get the file descriptor from the pipe
   receiving compressed input/output..   Hopefully RH8.0 has this
   included in the library, in which case we can get that to work.

   Meanwhile, until apple either upgrades the gcc with something that
   includes this ext/stdio_filebuf.h, or I end up hacking the code out
   of the gcc source tree and adding it into some file somewhere as an
   extra bit, this compile will not proceed.  If any of you mac-heads
   out there knows about updates to jaguar that might include this
   fix, this is by far the best option for me and I will put off any
   further hacking until this option is exhausted (as I am now..)

The code in its present state is available for download at:

ftp://grey.colorado.edu/pub/oreilly/pdp++/pdp++_3.0a_src.tar.gz

				- Randy