caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: Erick Tryzelaar <idadesub@users.sourceforge.net>
Cc: caml-list@inria.fr, felix-impl <felix-impl@lists.sourceforge.net>,
	Rhythmic Fistman <rfistman@gmail.com>,
	Emmanuel Onzon <emmanuel.onzon@ens-lyon.fr>
Subject: Re: [Felix-impl] [Caml-list] Re:  it no me build
Date: Wed, 16 May 2007 14:19:51 +1000	[thread overview]
Message-ID: <1179289191.7592.101.camel@rosella.wigram> (raw)
In-Reply-To: <464A5F02.8030001@users.sourceforge.net>

On Tue, 2007-05-15 at 18:31 -0700, Erick Tryzelaar wrote:
> skaller wrote:
> > On Tue, 2007-05-15 at 14:56 -0700, Erick Tryzelaar wrote:
> >> Emmanuel Onzon wrote:
> >>> In the next version of dypgen I will get rid of -pack, because it
> >>> makes things simpler. I hope it will improve RF's problem.
> >> I'm not sure if it's a pack issue. I can take your Makefiles and get it 
> >> to work using ocamlopt, so I think it's a problem in our build system.
> >
> > That's possible .. but it builds on Linux.
> >
> > The thing to do is use the Makefile to build with debugging log,
> > then do Felix build, and compare the compiler/link/pack/make
> > the library steps to see if I messed up something.
> 
> That was a pain. I found the problem, and a workaround. The line:
> 
> ocamlopt.opt -w yzex -warn-error FDPSU -I dypgen/dyplib -pack -o 
> dypgen/dyplib/dyp.cmx dypgen/dyplib/sig.cmi dypgen/dyplib/gs.cmx 
> dypgen/dyplib/priority_by_relation.cmx dypgen/dyplib/automaton.cmx 
> dypgen/dyplib/parser.cmx
> 
> Needs a "-I dypgen/dyplib", like this:
> 
> ocamlopt.opt -w yzex -warn-error FDPSU -pack -o dypgen/dyplib/dyp.cmx 
> dypgen/dyplib/sig.cmi dypgen/dyplib/gs.cmx 
> dypgen/dyplib/priority_by_relation.cmx dypgen/dyplib/automaton.cmx 
> dypgen/dyplib/parser.cmx
> 
> I'm guessing ocaml needs to bake the path into the pack file, or 
> something. I'll change the build system so it works.
> 
> I'm sure this is a bug in ocaml since it works everywhere else. We 
> probably should file an ocaml bug on it.

Ahem .. the lines are backwards -- that's a huge dyslexia :)

So the bug in Ocaml is, on OSX we use:

ocamlopt.opt  -w yzex -warn-error FDPSU  -pack -o dypgen/dyplib/dyp.cmx
dypgen/dyplib/sig.cmi dypgen/dyplib/gs.cmx
dypgen/dyplib/priority_by_relation.cmx dypgen/dyplib/automaton.cmx
dypgen/dyplib/parser.cmx 

but we needed:

ocamlopt.opt  -w yzex -warn-error FDPSU  -I dypgen/dyplib -pack -o
dypgen/dyplib/dyp.cmx dypgen/dyplib/sig.cmi dypgen/dyplib/gs.cmx
dypgen/dyplib/priority_by_relation.cmx dypgen/dyplib/automaton.cmx
dypgen/dyplib/parser.cmx 


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


  parent reply	other threads:[~2007-05-16  4:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <131e28b50705141643l195bae7cxb80c278e5eec7c4f@mail.gmail.com>
2007-05-15  4:00 ` [Felix-impl] " skaller
2007-05-15  4:29   ` [Caml-list] " Erick Tryzelaar
2007-05-15  8:48     ` Rhythmic Fistman
2007-05-15  9:06       ` [Felix-impl] [Caml-list] " skaller
2007-05-15  9:12         ` Rhythmic Fistman
2007-05-15  9:33           ` Erick Tryzelaar
2007-05-15  9:13         ` Rhythmic Fistman
2007-05-15  9:17           ` skaller
2007-05-15  9:33             ` Rhythmic Fistman
2007-05-15 17:47 ` [Felix-impl] " skaller
2007-05-15 19:00   ` Rhythmic Fistman
2007-05-15 19:43     ` skaller
2007-05-15 20:27       ` Rhythmic Fistman
2007-05-15 21:30         ` [Caml-list] " Erick Tryzelaar
2007-05-15 21:39           ` Emmanuel Onzon
2007-05-15 21:56             ` Erick Tryzelaar
     [not found]               ` <1179267261.7592.86.camel@rosella.wigram>
     [not found]                 ` <464A5F02.8030001@users.sourceforge.net>
2007-05-16  4:19                   ` skaller [this message]
2007-05-16  4:24                     ` [Felix-impl] [Caml-list] " Erick Tryzelaar

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=1179289191.7592.101.camel@rosella.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    --cc=emmanuel.onzon@ens-lyon.fr \
    --cc=felix-impl@lists.sourceforge.net \
    --cc=idadesub@users.sourceforge.net \
    --cc=rfistman@gmail.com \
    /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).