file suffixes

Reuben Thomas rrt1001@cam.ac.uk
Thu, 30 Nov 2000 17:42:05 +0000 (GMT)


> I recall that at one point GHC came with "bundles", built in "ways",
> like profiling, parallel, tickyticky, etc..  There was also some
> filename-mangling scheme for distinguishing .hi interface and .o
> object files from the different bundles.
> 
> My question is, what was that filename-mangling scheme?  I ask because
> I'm about to do something similar for nhc98's "ways" (heap-profiling,
> time-profiling, tracing, etc.), and some consistency here might
> be useful.

We change extensions such as .ext to .way_ext. This works for most things
except libraries, which get changed from .a to _way.a.

-- 
http://sc3d.org/rrt/ | certain, a.  insufficiently analysed