The Mercury Project
Re: [mercury-users] Newbie questions

Home

News

Information
  Overview
  Features
  Documentation
  Papers
  Developers
  Events
  Reports

Mailing Lists
  Developers
  Users
  Search

Download
  Current Release
  Snapshot
  Old Releases

Related
  Applications
  MCORBA
  Contributing Code

Contact

Search

Subject: Re: [mercury-users] Newbie questions
From: John Eikenberry (jae@zhar.net)
Date: Mon Dec 11 2000 - 15:52:48 EST


Tyson Dowd wrote:

> There's an implementation of a POSIX library in the mercury-extras
> libraries.
>
> extras/posix/posix.select.m
>
> Has code for doing select.
>
> (I haven't used this code myself, so I'm not sure whether it has suffered
> any bit-rot since it was written).

Thanks for the pointer. I had thought that extras was included in the
Debian package. My mistake. I just downloaded it from the Mercury site.
It compiles fine and the little hello world app that comes with it runs
fine.

To use it in an app I'll do something like copy its lib files (.so,.a), .m
files and the .h files to /usr/local/lib/mercury/posix. Then I'll add
listings of these to my Mmakefile via EXTRA_LIB_DIR and EXTRA_LIBRARIES. Or
sould I separate them into /usr/local/lib/mercury/posix/[int,lib,inc]?
These seem more like what Mmake.vars expects?

Thanks again,

-- 

John Eikenberry [jae@zhar.net - http://zhar.net] ______________________________________________________________ "A society that will trade a little liberty for a little order will deserve neither and lose both." --B. Franklin -------------------------------------------------------------------------- mercury-users mailing list post: mercury-users@cs.mu.oz.au administrative address: owner-mercury-users@cs.mu.oz.au unsubscribe: Address: mercury-users-request@cs.mu.oz.au Message: unsubscribe subscribe: Address: mercury-users-request@cs.mu.oz.au Message: subscribe --------------------------------------------------------------------------



This mail archive was generated by hypermail 2b25 on Sun Dec 31 2000 - 00:40:04 EST.