caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Adrien Nader <adrien@notk.org>
To: Christopher Zimmermann <christopher@gmerlin.de>
Cc: Gabriel Scherer <gabriel.scherer@gmail.com>,
	caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] use cc instead of gcc as default C compiler?
Date: Mon, 23 Oct 2017 21:49:54 +0200	[thread overview]
Message-ID: <20171023194954.GA13292@notk.org> (raw)
In-Reply-To: <441EA0D0-D075-4407-B50D-8CAEDD6039DF@gmerlin.de>

On Mon, Oct 23, 2017, Christopher Zimmermann wrote:
> 
> 
> On October 23, 2017 9:57:07 AM CEST, Gabriel Scherer <gabriel.scherer@gmail.com> wrote:
> >My guess is that cc is a broken compiler on many exotic operating
> >system
> >(or at least was when the ./configure was first written in the
> >nineties),
> >and in particular does not support the (modest) gcc extensions that the
> >runtime relies on. Using a standardized (yet portable) compiler was
> >deemed
> >an easier path to configure the OCaml distribution build system than
> >trying
> >to support the oddities of every Unix's C compiler under the sun.
> >
> >Note that the compiler distribution builds just fine under MacOS, which
> >now
> >uses Clang (llvm) instead of GCC -- and that you can configure the C
> >compiler you want to use with (./configure -cc ...). I don't see what
> >is
> >the problem here; and I would think that opting to choose GCC by
> >default is
> >still a perfectly reasonable choice today.
> 
> 
> My Problem is that custom OCaml builds, especially the ones done through opam will use gcc and therefore fail to build projects with not so modest requirements. At the moment I'm just wondering at which level in the toolchain this neuds fixing. OCaml configure, opam-repository or opam source?

Could you elaborate on that « therefore fail to build projects with not
so modest requirements » ?

-- 
Adrien


  reply	other threads:[~2017-10-23 19:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-19 15:05 Christopher Zimmermann
2017-10-22  9:20 ` SP
2017-10-23  7:46   ` Sébastien Hinderer
2017-10-23  7:57 ` Gabriel Scherer
2017-10-23 19:34   ` SP
2017-10-23 19:41   ` Christopher Zimmermann
2017-10-23 19:49     ` Adrien Nader [this message]
2017-10-24  5:15       ` [Caml-list] Are there any OCaml bindings to liblinear (a library for large linear classification)? Francois BERENGER
2017-10-24  7:55         ` Milo Davis
2017-10-25  2:31           ` Francois BERENGER
2017-10-25  7:06             ` [Caml-list] libsvm OCaml bindings and segfaults Francois BERENGER
2017-10-25  9:08               ` Philippe Veber
     [not found]       ` <152B8F33-A053-42AA-AF57-160FF3C897D0@gmerlin.de>
2017-10-25  6:52         ` [Caml-list] use cc instead of gcc as default C compiler? Adrien Nader
2017-10-25  7:05           ` Gabriel Scherer
2017-10-25  7:14             ` Sébastien Hinderer
2017-10-25  7:20               ` Adrien Nader
2017-10-25  7:10           ` Sébastien Hinderer
2017-10-25  8:04           ` Christopher Zimmermann

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=20171023194954.GA13292@notk.org \
    --to=adrien@notk.org \
    --cc=caml-list@inria.fr \
    --cc=christopher@gmerlin.de \
    --cc=gabriel.scherer@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).