Re: .cm subdirectories

Ian Zimmerman <[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
John> This distinction is because the bin files are more portable than
John> the heap images (i.e., x86-unix bin files will work on Solaris,
John> and *BSD, as well as Linux).  Perhaps this level of portability
John> isn't worth preserving, but that is the reason.

OK, fair enough.  Let me rephrase: is there an automatic way of deriving
the "x86-unix" string?  For the other, I can do something like

eval `cat $SMLNJ_HOME/$SMLNJ_VERSION/bin/.arch-n-opsys`

and now it's the value of $HEAP_SUFFIX.

The natural place for this information would be the CM structure, but I
don't find it there.

-- 
Nothing can be explained to a stone.
Or to a stoned person, either.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.