caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Markus Mottl <markus.mottl@gmail.com>
To: Inria Ocaml Mailing List <caml-list@inria.fr>
Cc: gerd@gerd-stolpmann.de
Subject: Godi-problem: setting C-compiler/linker
Date: Wed, 20 Apr 2005 10:11:24 -0400	[thread overview]
Message-ID: <f8560b80504200711620ec81b@mail.gmail.com> (raw)

Hi,

we have discovered a linking problem with the OCaml-distribution in
Godi. We want to be able to choose different C-compilers (e.g. gcc33)
when compiling or linking. Unfortunately, Godi hacks the
OCaml-distribution to insert some additional flags for finding shared
libraries. These flags are lost when we want to set a compiler/linker
using "-cc".

We could, of course, hard code these flags into our Makefiles, but
that's not particularly portable. Another way would be to link a dummy
file with flag "-verbose" and use pattern matching on the displayed
command line to extract the correct flags (very hacky, can easily
break).

What would be a better (= simpler, more portable) solution to this problem?

Best regards,
Markus

-- 
Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com


             reply	other threads:[~2005-04-20 14:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20 14:11 Markus Mottl [this message]
2005-05-04 12:52 ` Gerd Stolpmann

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=f8560b80504200711620ec81b@mail.gmail.com \
    --to=markus.mottl@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=gerd@gerd-stolpmann.de \
    /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).