Thank you, Tim! That fixed the issue and I now have a libsim.a.
I have a 64-bit machine and I installed 32-bit ubuntu. I'm sad about that and happy about this.
I am rebuilding the VM to see if the ARM plugin builds...which it did and I have that plugin.
Would you know the script to fire off an ARM simulation?
Received with great gratitude. Thank you, Robert
On 10/18/2015 09:04 AM, Tim Olson wrote:
On Oct 18, 2015, at 5:26 AM, Robert Withers <robert.w.withers@gmail.com mailto:robert.w.withers@gmail.com> wrote:
I found some support code for the ARM plugin, in the processors directory. Following the instructions, I noticed there was no step to run make in the sim/common directory, though it has a Makefile and contains .c files.
I carried on and when running make in sim/arm I received these errors multiple times:
../../include/libiberty.h:92:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PARAMS’ wrapper.c:135:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VPARAMS’
Any help resolving this is received with gratitude.
I ran into this problem when getting this to build on my 64-bit Ubuntu system. The problem is that the system’s ansidecl.h is incompatible with the one that should be used (in include/ansidecl.h in the ARM gdb directory). I fixed it by moving the include of ansidecl.h first before any other includes in the sim/arm/wrapper.c file:
/* TAO -- include local version of ansidecl.h first to ensure it is used instead of the system's version */ #include "ansidecl.h" #include "config.h" #include <stdio.h> #include <stdarg.h> #include <string.h>
— tim