Re: [Gems-users] Ruby compile fail, g++: could


Date: Sat, 30 Aug 2008 18:40:11 -0500
From: "Teague, Patrick" <patrick.teague@xxxxxxxxxxx>
Subject: Re: [Gems-users] Ruby compile fail, g++: could
Thanks for you help, Fuad.  I take no offense to stating the obvious.  I know that a lot of times the obvious questions are the ones that need asking (I ask them a lot when I'm helping someone.), but in this case I have tried the instructions.

I figure I must have edited the wrong stuff or the done the wrong thing.  I have looked through all the makefiles to see where that crazy path (/usr/bin/x86_64-linux-gnu-gcc-3.4.6) is getting inserted, but there are so many env variables that I can't see what all is modifying the path.

As far as environment information:
OS: Kubuntu 8.04
Simics: 3.0.31
GCC: trying to use 3.4.6 (native is 4.2.3)

I wonder if I should attach the Makefile.common and ruby Makefile.  I'll hold off on that for now though.  Don't want to clog a bunch of mailboxes with attachments.  (Can you even attach files to the list?)

-Patrick
________________________________________
From: gems-users-bounces@xxxxxxxxxxx [gems-users-bounces@xxxxxxxxxxx] On Behalf Of Fuad Tabba [fuad@xxxxxxxxxxxxxxxxx]
Sent: Saturday, August 30, 2008 5:20 PM
To: Gems Users
Subject: Re: [Gems-users] Ruby compile fail, g++: could

Hi Patrick,

I apologize if I'm stating the obvious, but have you followed the instructions at:-
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Setup_for_Simics_3.0.X [if you're using simics 3]
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Setup [for simics 2]

particularly the last step? These documents mention all the places in the configuration and make files that need to be adjusted for different environments...

Plus more info on your environment could be helpful, which linux distro are you running, simics version, gcc version, etc...

Cheers,
/Fuad


On Sun, Aug 31, 2008 at 3:45 AM, Teague, Patrick <patrick.teague@xxxxxxxxxxx<mailto:patrick.teague@xxxxxxxxxxx>> wrote:
Somewhere in all the continuous lines of makefiles, the path to g++/gcc is getting really messed up.  I don't know why this is.

pj@bagend:~/gems/ruby$ make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
ls: cannot access generated/MOSI_SMP_bcast/*.C: No such file or directory
Ruby: Building protocol: MOSI_SMP_bcast
Ruby: Making slicc
cd ../slicc; make
make[1]: Entering directory `/home/pj/gems/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/home/pj/gems/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/home/pj/gems/slicc'
SLICC: Building slicc executable
make amd64-linux/bin/slicc.exec
make[2]: Entering directory `/home/pj/gems/slicc'
/usr/bin/g++ -V 3.4.6 -o amd64-linux/obj/parser.o -c generated/parser.c -DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -m64 -march=x86-64 -fPIC -g -ggdb -g3 -O2 -finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN   -I. -I../common -Igenerated -Isymbols -Igenerator -Iast
-----------------------
g++: couldn't run '/usr/bin/x86_64-linux-gnu-gcc-3.4.6': No such file or directory
-----------------------
make[2]: *** [amd64-linux/obj/parser.o] Error 1
make[2]: Leaving directory `/home/pj/gems/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/pj/gems/slicc'
make: *** [all] Error 2

-Patrick
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx<mailto: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.


[← Prev in Thread] Current Thread [Next in Thread→]