I meant that you should add -Dsomething to the command line, so you could then look at g++'s args and see if '-Dsomething' is there or not... which would in turn let you know if SIMICS_VERSION was properly set.
Regards, Dan
On Sun, Jun 28, 2009 at 4:33 PM, Anup Holey <holey003@xxxxxxx> wrote:
Line 155 gets executed if SIMICS_VERSION is set to
3.0 .
So how does adding -D to line 155
help?
I tried compilation with -D option on line 158. It
gives error "<command-line>: error: macro names must be
identifiers".
Do you need more information about my setup?
Because problem seems to be trivial. SIMICS_VERSION is not getting correct
value.
Thanks.
-Anup
----- Original Message -----
Sent: Saturday, June 27, 2009 8:05
AM
Subject: Re: [Gems-users] Ruby
installation issue
make clean, then add another -D to Makefile.common line 155 --
you should see your -D in the compile
arguments. Regards, Dan
On Fri, Jun 26, 2009 at 5:28 PM, Anup Holey <holey003@xxxxxxx>
wrote:
Ok. I got your point. SIMICS_VERSION is set to
3.0 in the specified file.
How can I crosscheck in between if the variable
has got the correct value??
I tried to suspend the compilation and read the
variable using 'echo' command. It says undefined variable.
Thanks,
Anup
-----
Original Message -----
Sent:
Friday, June 26, 2009 1:11 PM
Subject:
Re: [Gems-users] Ruby installation issue
On Fri, Jun 26, 2009 at 12:08 PM, Anup Holey <holey003@xxxxxxx> wrote:
SIMICS_VERSION is properly set. I get
"g++: unrecognized option
'-stopcompile'" error multiple
times.
In an unmodified GEMS tarball, the ONLY time '-stopcompile' appears
in g++'s command arguments is when SIMICS_VERSION isn't properly set. Like
I said, check Makefile.simics_version
I am not able to get rid of this error ---> make[1]: *** No rule
to make target `simics/api.h', needed by
`amd64-linux/generated/MOSI_SMP_bcast/obj/attrparse.o'.
Stop.
This a related problem -- various directories aren't properly set
because SIMICS_VERSION isn't properly set.
Thanks,
Anup
-----
Original Message -----
Sent:
Thursday, June 25, 2009 4:03 PM
Subject:
Re: [Gems-users] Ruby installation issue
-stopcompile is intentionally added to the command line
when SIMICS_VERSION isn't properly set. Review the installation
instructions on how to set that variable... as I recall it is found in
Makefile.simics_version.
Regards,
Dan
On Thu, Jun 25, 2009 at 3:59 PM, <holey003@xxxxxxx> wrote:
Hi,
We are trying to setup environment
using Simics 3.0.30 and Gems 2.1. But getting following error in
Ruby compilation (as per the command provided
on webpage).
g++: unrecognized option
'-stopcompile' make[1]: Leaving
directory `/scratch/tianwu/para_taint/htm/simics_space/gems-2.1/ruby' make[1]:
Entering
directory `/scratch/tianwu/para_taint/htm/simics_space/gems-2.1/ruby' make[1]:
Circular amd64-linux/generated/MOSI_SMP_bcast/obj/init.o
<- default_param.h dependency dropped. make[1]: *** No rule
to make target `simics/api.h', needed
by `amd64-linux/generated/MOSI_SMP_bcast/obj/attrparse.o'.
Stop. make[1]: Leaving
directory `/scratch/tianwu/para_taint/htm/simics_space/gems-2.1/ruby' make:
*** [all] Error 2
I found that someone was getting similar
error and the suggestion was to check SIMICS_INCLUDE_ROOT which
is correct in our case. Could anyone guide in this
regard??
Thanks, Anup
_______________________________________________ Gems-users
mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use
Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to
your search.
-- http://www.cs.wisc.edu/~gibson
[esc]:wq!
_______________________________________________ Gems-users
mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use
Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your
search.
-- http://www.cs.wisc.edu/~gibson [esc]:wq!
_______________________________________________ Gems-users
mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use
Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your
search.
-- http://www.cs.wisc.edu/~gibson
[esc]:wq!
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
-- http://www.cs.wisc.edu/~gibson [esc]:wq!
|