DDE26 CModule makefile
Colin (478) 2433 posts |
There appears to be a problem with the acornc/c++.makefiles.CModule makefile which is illustrated if you try to compile the DDE-Examples.C/C++.CModule example. You need to ensure !Builder hasn’t been seen – which would be the case if you didn’t build your own roms When you run Mk you get
The problem is the line
in the example’s makefile. Without this line the included CModule makefile needs a rom build environment to build the module as it needs build$path and perl when it tries to build a resources file based on the TARGET name so it fails. With the line you get the error above. So you can’t use the CModule makefile to build a module with just the DDE. |
Chris Mahoney (1684) 2165 posts |
For what it’s worth, the example works with DDE25, so it seems that this issue is new to 26. I wonder what changed! DDE25’s example still has the blank RES_OBJ line so it appears that your analysis is correct; the issue seems to be with the CModule makefile itself. |
Anthony Vaughan Bartram (2454) 458 posts |
I’ve got CModule to build. Just bought DDE 26 and on having the same problem (and Googling this thread). I found that there are instructions on how to build this module standalone in comments within the top of the module source file “CModule.c.CModule”. I was then able to RMLoad the test module and run tm1 to test it. |