[m-dev.] proof-of-concept code for choosing a grade

Peter Wang novalazy at gmail.com
Sun Dec 6 12:23:32 AEDT 2015


On Sun, 06 Dec 2015 04:23:09 +1100 (AEDT), "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
> 
> 
> On Sat, 5 Dec 2015 22:26:05 +1100, Peter Wang <novalazy at gmail.com> wrote:
> > > - The decision to do it in C.
> > 
> > It is not ideal for cross compiling.  We need to build the program with
> > one C compiler to run on the building system, then with another C
> > compiler to run on the system we are targeting.  We do already run into
> > this issue in boehm_gc/Makefile.direct where (as a hack) we just assume
> > 'cc' is usable to compile helper programs that run as part of the build
> > process.  Something to be aware of.
> 
> I don't understand what "this issue" you are referring to. Is it the possibility
> that the build machine and the target machine have different C compilers,
> or the need for a C compiler at all? If the former, I don't see why
> having the switch compilers from build to target should be a problem,

The former.  It's not a huge problem, but an extra complication that
tends to be forgotten about.

Peter



More information about the developers mailing list