caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "David Allsopp" <dra-news@metastack.com>
To: <bertrand.desmons@umons.ac.be>, <alain@frisch.fr>
Cc: <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] RE: flexlink + lacaml (lapack)
Date: Wed, 8 Apr 2009 19:31:01 +0100	[thread overview]
Message-ID: <00b401c9b878$2d9ba090$88d2e1b0$@com> (raw)
In-Reply-To: <4644.86.208.86.61.1239205632.squirrel@86.208.86.61>

Bertrand Desmons wrote: 
> I followed your trick and now compilation is OK.

Excellent - good to know that the trick is consistent for other libraries
too!

> Just a remark however (maybe it's the key for the porblem): when
> renaming
> the old 'liblapack.a', Windows asked me a confirmation, arguing that
> the
> file is a system file.

I don't think it is - I think it's to do with abstractions in libtool. Try
resetting the permissions on the files in C:\cygwin\lib using Windows
Explorer (though note that may upset Cygwin!!!).

I expect that problem with your .a files is Cygwin's interaction with NTFS
permissions - if you only use Cygwin to build OCaml and related things then
I'd suggest having the environment variable CYGWIN=nontsec set (which,
counter-intuitively, means "use NT native file permissions instead of
POSIX-over-NTFS"). I expect that your installation of the libraries
inherited weird permissions when you installed them because Cygwin by
default emulates Unix's user-group-other permissions rather than NT's
inherited ACLs which is fine if you spend your entire life in Cygwin's bash
but is a pain if you use Windows on the same files as well (it's OK under XP
but under Vista manipulation of any files touched by Cygwin becomes
virtually impossible owing, admittedly, to clear bugs in Vista's crappy
explorer making any operations hideously slow...)


David


  reply	other threads:[~2009-04-08 18:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1498.86.208.86.61.1239191967.squirrel@86.208.86.61>
2009-04-08 13:08 ` DESMONS Bertrand
     [not found] ` <2700.86.208.86.61.1239196135.squirrel@86.208.86.61>
2009-04-08 15:47   ` DESMONS Bertrand
2009-04-08 18:31     ` David Allsopp [this message]
2009-04-07 15:52 DESMONS Bertrand
2009-04-07 16:38 ` Alain Frisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00b401c9b878$2d9ba090$88d2e1b0$@com' \
    --to=dra-news@metastack.com \
    --cc=alain@frisch.fr \
    --cc=bertrand.desmons@umons.ac.be \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).