Thursday, 8 October 2015

[gccsdk] More makefile problems

@ Duncan - many thanks. I will try it.

> However, I suspect the problem here is with 'shell'

I have bypassed this particular switch by commenting it out
and setting the desired result as:

> TARGET_LJARCH= arm

Now the error is

> make: *** No rule to make target 'vm_arm.dasc', needed by 'host/buildvm_arch.h'. Stop.

I think the required rule is

> host/buildvm_arch.h: $(DASM_DASC) $(DASM_DEP)
> $(E) "DYNASM $@"
> $(Q)$(DASM) $(DASM_FLAGS) -o $@ $(DASM_DASC)

which comes further down. Not sure why make cannot find it.
This particular rule involves first compiling 'minilua', a stripped down version of Lua,
to ../dynasm. It is not entirely clear to me whether all the sources for minilua are
present in the LuaJIT sources, or whether I have to copy them from the Lua 5.1 sources
(which I have).

There are so many macros that I find understanding what the makefile is meant to do
is a real sweat. I have been searching the www to see if there are any articulate
descriptions of the compilation process for LuaJIT in some tutorial; so far
without success. But the problem is more my lack of experience, I suspect.

--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment