I felt that using CompCert to build ATS is a big thing that could be too
difficult to accomplish in one single step. Instead, let us focus on using
CompCert to compile C code generated from ATS source for the moment.
Oops, my bad, I troubled people minds in the other thread: the command compcert is the one I use only me, using a symbolic link to ccomp,
which is the real command name. I created this symbolic link to avoid some
confusion with the same name appearing a many place in the source tree (I
grepped a lot while trying to compile ATS2). This is not an issue if the
Makefiles do the same, that’s OK, but then the creation of the link should
be advised somewhere. Or else, better use the real command name.
I will have a look at this Contrib later.
That said, looking at the Makefile, I really feel that’s better to create
a symbolic link, because the command’s real name is a lot confusing, as
it’s too generic. May be just adding something like “Please, ensure you
have a symbolic link to ccomp named compcert.” as a comment at the top of
Makefiles can be OK.
Oops, my bad, I troubled people minds in the other thread: the command compcert is the one I use only me, using a symbolic link to ccomp,
which is the real command name. I created this symbolic link to avoid some
confusion with the same name appearing a many place in the source tree (I
grepped a lot while trying to compile ATS2). This is not an issue if the
Makefiles do the same, that’s OK, but then the creation of the link should
be advised somewhere. Or else, better use the real command name.
I will have a look at this Contrib later.
That said, looking at the Makefile, I really feel that’s better to create a
symbolic link, because the command’s real name is a lot confusing, as it’s
too generic. May be just adding something like “Please, ensure you have a
symbolic link to ccomp named compcert.” as a comment at the top of
Makefiles can be OK.
Right now, the compilation environment is the one for kernel programming,
which is too limited for
general purpose.On Sun, Feb 1, 2015 at 6:03 AM, ‘Yannick Duchêne’ via ats-lang-users < ats-lan...@googlegroups.com> wrote:
Le dimanche 1 février 2015 06:10:57 UTC+1, gmhwxi a écrit :
Oops, my bad, I troubled people minds in the other thread: the command compcert is the one I use only me, using a symbolic link to ccomp,
which is the real command name. I created this symbolic link to avoid some
confusion with the same name appearing a many place in the source tree (I
grepped a lot while trying to compile ATS2). This is not an issue if the
Makefiles do the same, that’s OK, but then the creation of the link should
be advised somewhere. Or else, better use the real command name.