Hello, David, Thomas.
David Savinkoff wrote:
> Here is emutos prerelease compiled with gcc 2.95
> (cross mint)
I don't fully understand which compiler you used. Is it the very old
cross-gcc 2.95, available somewhere in the SpareMiNT site ?
What is your OS ?
Thomas Huth wrote:
> I've got the same problem as David without the patch.
Same questions for you, Thomas.
I tried again, I'm sorry but I have absolutely no trouble with my cross-GCC
4.6.1 toolchain, with both Cygwin and Ubuntu. I use make 3.81 on both
systems. See the attached log, where everything is correct. You can diff it
against David's allbin.log.
I suspect the language change is not correctly detected for you, between the
gr and es builds. See the obj/country target in the Makefile.
On the line 610, you can replace:
@echo $(COUNTRY) $(UNIQUE) > last.tmp; \
@set -x; echo $(COUNTRY) $(UNIQUE) > last.tmp; \
This will add debug traces about what happens.
Also, it is not convenient to have the normal output and the errors in 2
different files. You can get all the output in a single file, as well as
console output, using the following command line:
make allbin 2>&1 |tee allbin.log
Of course it would be simpler to blindly apply David's patch, but this
problem hides something bigger, I would like to understand what happens
before changing anything.
Another idea: some trouble may come from the default shell used by make (may
be ash, dash on some systems). You can try the following to see if it works
make allbin SHELL=/bin/bash
And of course, when this mystery is solved, the Makefile will have to be
fixed to exit when the first error in encountered.