Re: [Tinycc-devel] What is the exact Darwin port status? (i.e. macOS)

2017-02-26 Thread Christian Jullien
Hello Michael, That's clear now. IMHO, the best thing to do is to refuse to build tcc on systems that are not explicitly supported. $ ./configure ** Error, tcc is not supported on this system. $ -Original Message- From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.or

Re: [Tinycc-devel] What is the exact Darwin port status? (i.e. macOS)

2017-02-26 Thread Michael Matz
Hi, On Sun, 26 Feb 2017, Christian Jullien wrote: I start to better understand (fix me if I'm wrong). * On Darwin I can only make a cross compiler, i.e. make for example a tcc compiler that, when built, will run on Windows. Yes. But of course for a really working cross compiler you'd also ne

Re: [Tinycc-devel] What is the exact Darwin port status? (i.e. macOS)

2017-02-26 Thread Christian Jullien
I start to better understand (fix me if I'm wrong). * On Darwin I can only make a cross compiler, i.e. make for example a tcc compiler that, when built, will run on Windows. * On Darwin, 'make' alone is not supposed to produce something usable to any purpose. IMHO, make should produce an error in t

Re: [Tinycc-devel] What is the exact Darwin port status? (i.e. macOS)

2017-02-26 Thread grischka
Christian Jullien wrote: Ok, but help me to better understand the purpose of a tcc build on Darwin. * Currently, "./configure; make" produces on Sierra (Darwin) a tcc executable (so far so good). * This tcc version runs on Darwin (as tcc- vv), so to me it is a Sierra compatible binary. I don't u

Re: [Tinycc-devel] What is the exact Darwin port status? (i.e. macOS)

2017-02-26 Thread Christian Jullien
Ok, but help me to better understand the purpose of a tcc build on Darwin. * Currently, "./configure; make" produces on Sierra (Darwin) a tcc executable (so far so good). * This tcc version runs on Darwin (as tcc- vv), so to me it is a Sierra compatible binary. I don't understand quite well why it

Re: [Tinycc-devel] What is the exact Darwin port status? (i.e. macOS)

2017-02-26 Thread grischka
Christian Jullien wrote: What tcc knows (it thinks it is Linux, I can fix this one easily): tcc version 0.9.27 (x86_64 Linux) No, this is correct. This message is trying to tell you that this tcc will create executables for a Linux OS running on a x86_64 processor. These executables will not