Re: [Gems-users] Compiling problems with transaction.c in Gems 2.0


Date: Thu, 8 May 2008 12:26:41 +0800
From: "li he" <cranelea@xxxxxxxxx>
Subject: Re: [Gems-users] Compiling problems with transaction.c in Gems 2.0

Dear Jayaram,

Thanks very much for writing back soon!
We downloaded the gcc source file "gcc3.4.3.tar.bz2" from the gnu.org, and then we copied this source file to the simulated machine to install it.The configuration just like:
../configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77 --enable-shared
When the "make" instruction is performed ,errors appeared like:
make: Fatal error: Command failed for target `all-gcc'
So,we try to make it with the instruction "gmake",and this time, no errors appear.And then in the process of installing, we used "make install", error appeared like:
make: Fatal error: Command failed for target `all-gcc'
we change the instruction to "gmake install"(after perform "gmake" successfully),error still appeared like:
/bin/sh: ../gcc-3.4.3/install-sh: not found
/bin/sh: ../gcc-3.4.3/install-sh: not found
/bin/sh: ../gcc-3.4.3/install-sh: not found
gmake[1]: *** [install-common] Error 1
gmake[1]: Leaving directory '/usr/test/gcc-build/gcc'
gmake: *** [install-gcc] Error 2
We have no idea about what's wrong with it.Could you help us? Thanks a lot!
 
P.S.  You said "I would also suggest compiling natively and copying the executables over to the simulated system..." last time. We don't know what it means since we are beginners. Could you tell us in detail? We are very appreciated!


2008/5/6, Jayaram Bobba <bobba@xxxxxxxxxxx>:
Yes, that is correct. I would also suggest compiling natively
and copying the executables over to the simulated system...

Jayaram

li he wrote:
>
> Dear list,
>
> I've set up gems-2.0 environment and I'm trying to compile the
> transactional microbenchmarks "sortedList" included in it. After
> having the files inside my simulated simics machine (a SPARC with
> Solaris 10), when I compile it,errors appeared like
>  /var/tmp//ccP5j6V5.s: Assembler messages:
>  /var/tmp//ccP5j6V5.s:1121: Error: Illegal operands
> After having googled the maillist,there is a solution which works:"
> Can you try using the assembler located in /usr/ccs/bin/as and
> recompile gcc with these flags:  --with-as=/usr/ccs/bin/as
> --without-gnu-as "
> how to recompile? Download the gcc source file and install it with
> configuration that "--with-as=/usr/ccs/bin/as   --without-gnu-as"?
>
> Thanks a lot!
>
> leona
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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.
>
>

_______________________________________________
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.


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