From: Julien Moutinho <julien.moutinho@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Options order for ocamlc/opt/opt.opt
Date: Sat, 24 Nov 2007 04:15:44 +0100 [thread overview]
Message-ID: <20071124031544.GA11916@localhost> (raw)
In-Reply-To: <20071124031046.GA2581@localhost>
On Sat, Nov 24, 2007 at 04:10:46AM +0100, Julien Moutinho wrote:
> Options passed to -cclib are in !Clflags.ccobjs to which -l<foo> flags are appended,
> hence your patch:
> Printf.sprintf "%s %s %s %s %s %s %s %s %s %s -o %s"
> !Clflags.c_linker
> (if !Clflags.gprofile then Config.cc_profile else "")
> (Clflags.std_include_flag "-I")
> (Ccomp.quote_files
> (List.map (fun dir -> if dir = "" then "" else "-L" ^ dir)
> !load_path))
> (String.concat " " !Clflags.ccopts)
> (Ccomp.quote_files (List.rev !Clflags.ccobjs))
> (Filename.quote startup_file)
> (Ccomp.quote_files (List.rev file_list))
> (Ccomp.quote_optfile runtime_lib)
> c_lib
> (Filename.quote output_name)
Sorry, copy/paste error your patch is:
Printf.sprintf "%s %s %s %s %s %s %s %s %s %s -o %s"
!Clflags.c_linker
(if !Clflags.gprofile then Config.cc_profile else "")
(Clflags.std_include_flag "-I")
(Ccomp.quote_files
(List.map (fun dir -> if dir = "" then "" else "-L" ^ dir)
!load_path))
(String.concat " " !Clflags.ccopts)
(Filename.quote startup_file)
(Ccomp.quote_files (List.rev file_list))
(Ccomp.quote_optfile runtime_lib)
(Ccomp.quote_files (List.rev !Clflags.ccobjs)) (* here is !Clflags.ccobjs *)
c_lib
(Filename.quote output_name)
It changes nothing to what I said previously.
next prev parent reply other threads:[~2007-11-24 3:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-23 1:43 Romain Beauxis
2007-11-23 16:40 ` Romain Beauxis
2007-11-24 3:10 ` [Caml-list] " Julien Moutinho
2007-11-24 3:15 ` Julien Moutinho [this message]
2007-12-02 21:39 ` Romain Beauxis
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=20071124031544.GA11916@localhost \
--to=julien.moutinho@gmail.com \
--cc=caml-list@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