caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlbuild: inconsistent globbing?
@ 2008-11-14  8:12 Hugo Ferreira
  2008-11-14  8:38 ` [Caml-list] " Hugo Ferreira
  2008-11-15 11:16 ` Nicolas Pouillard
  0 siblings, 2 replies; 4+ messages in thread
From: Hugo Ferreira @ 2008-11-14  8:12 UTC (permalink / raw)
  To: caml-list

Hello,

I recently altered my project's _tag file
to include the compilation of a native version
of an application so:

true: use_menhir, debug, profile
<cudd/**>: not_hygienic
<gmp/**>: not_hygienic
"src/ml_cudd.{d.byte,d.native}": use_cudd, use_gmp, use_bigarray

However this did not work. I had to change this to:

true: use_menhir, debug, profile
<cudd/**>: not_hygienic
<gmp/**>: not_hygienic
"src/ml_cudd.d.byte": use_cudd, use_gmp, use_bigarray
"src/ml_cudd.p.native": use_cudd, use_gmp, use_bigarray

Isn't

"src/ml_cudd.{d.byte,d.native}"

equivalent to:

"src/ml_cudd.d.byte": use_cudd, use_gmp, use_bigarray
"src/ml_cudd.p.native": use_cudd, use_gmp, use_bigarray

If not, why?

TIA,
Hugo F.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] ocamlbuild: inconsistent globbing?
  2008-11-14  8:12 ocamlbuild: inconsistent globbing? Hugo Ferreira
@ 2008-11-14  8:38 ` Hugo Ferreira
  2008-11-15 11:16 ` Nicolas Pouillard
  1 sibling, 0 replies; 4+ messages in thread
From: Hugo Ferreira @ 2008-11-14  8:38 UTC (permalink / raw)
  To: caml-list

Hi,

Hugo Ferreira wrote:
> Hello,
> 
> I recently altered my project's _tag file
> to include the compilation of a native version
> of an application so:
> 
> true: use_menhir, debug, profile
> <cudd/**>: not_hygienic
> <gmp/**>: not_hygienic
> "src/ml_cudd.{d.byte,d.native}": use_cudd, use_gmp, use_bigarray
>

Someone has just pointed out (thank you) that the
above is wrong. Apologies but that, but it is a typo
on my part.

With the "correct":

true: use_menhir, debug, profile
<cudd/**>: not_hygienic
<gmp/**>: not_hygienic
"src/ml_cudd.{d.byte,p.native}": use_cudd, use_gmp, use_bigarray

I still get:

+ /home/hugof/ocaml/godi/bin/ocamlc.opt -g src/ml_cudd.d.cmo -o 
src/ml_cudd.d.byte
Error while linking src/ml_cudd.d.cmo:
The external function `camlidl_cudd_manager_make' is not available
Command exited with code 2.

Sorry about that,
H.F.


> However this did not work. I had to change this to:
> 
> true: use_menhir, debug, profile
> <cudd/**>: not_hygienic
> <gmp/**>: not_hygienic
> "src/ml_cudd.d.byte": use_cudd, use_gmp, use_bigarray
> "src/ml_cudd.p.native": use_cudd, use_gmp, use_bigarray
> 
> Isn't
> 
> "src/ml_cudd.{d.byte,d.native}"
> 
> equivalent to:
> 
> "src/ml_cudd.d.byte": use_cudd, use_gmp, use_bigarray
> "src/ml_cudd.p.native": use_cudd, use_gmp, use_bigarray
> 
> If not, why?
> 
> TIA,
> Hugo F.
> 
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] ocamlbuild: inconsistent globbing?
  2008-11-14  8:12 ocamlbuild: inconsistent globbing? Hugo Ferreira
  2008-11-14  8:38 ` [Caml-list] " Hugo Ferreira
@ 2008-11-15 11:16 ` Nicolas Pouillard
  2008-11-15 14:29   ` Hugo Ferreira
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Pouillard @ 2008-11-15 11:16 UTC (permalink / raw)
  To: Hugo Ferreira; +Cc: caml-list

Excerpts from Hugo Ferreira's message of Fri Nov 14 09:12:44 +0100 2008:
> Hello,
> 
> I recently altered my project's _tag file
> to include the compilation of a native version
> of an application so:
> 
> true: use_menhir, debug, profile
> <cudd/**>: not_hygienic
> <gmp/**>: not_hygienic
> "src/ml_cudd.{d.byte,d.native}": use_cudd, use_gmp, use_bigarray
> 
> However this did not work. I had to change this to:
> 
> true: use_menhir, debug, profile
> <cudd/**>: not_hygienic
> <gmp/**>: not_hygienic
> "src/ml_cudd.d.byte": use_cudd, use_gmp, use_bigarray
> "src/ml_cudd.p.native": use_cudd, use_gmp, use_bigarray
> 
> Isn't
> 
> "src/ml_cudd.{d.byte,d.native}"
> 
> equivalent to:
> 
> "src/ml_cudd.d.byte": use_cudd, use_gmp, use_bigarray
> "src/ml_cudd.p.native": use_cudd, use_gmp, use_bigarray
> 
> If not, why?

"..." are for constants and <...> are for globbings.

So "src/ml_cudd.{d.byte,p.native}" should be written
<src/ml_cudd.{d.byte,p.native}>

Best regards,

-- 
Nicolas Pouillard aka Ertai


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] ocamlbuild: inconsistent globbing?
  2008-11-15 11:16 ` Nicolas Pouillard
@ 2008-11-15 14:29   ` Hugo Ferreira
  0 siblings, 0 replies; 4+ messages in thread
From: Hugo Ferreira @ 2008-11-15 14:29 UTC (permalink / raw)
  To: Nicolas Pouillard; +Cc: caml-list

Nicolas Pouillard wrote:
> Excerpts from Hugo Ferreira's message of Fri Nov 14 09:12:44 +0100 2008:
>> Hello,
>...
src/ml_cudd.p.native": use_cudd, use_gmp, use_bigarray
>>
>> Isn't
>>
>> "src/ml_cudd.{d.byte,d.native}"
>>
>> equivalent to:
>>
>> "src/ml_cudd.d.byte": use_cudd, use_gmp, use_bigarray
>> "src/ml_cudd.p.native": use_cudd, use_gmp, use_bigarray
>>
>> If not, why?
> 
> "..." are for constants and <...> are for globbings.
> 
> So "src/ml_cudd.{d.byte,p.native}" should be written
> <src/ml_cudd.{d.byte,p.native}>
> 

Thank you.

H,.F.

> Best regards,
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-15 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-14  8:12 ocamlbuild: inconsistent globbing? Hugo Ferreira
2008-11-14  8:38 ` [Caml-list] " Hugo Ferreira
2008-11-15 11:16 ` Nicolas Pouillard
2008-11-15 14:29   ` Hugo Ferreira

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).