<p>Dear Jayaram,</p>
<div>Thanks very much for writing back soon!<br>We downloaded the gcc source file "gcc3.4.3.tar.bz2" from the <a href="http://gnu.org">gnu.org</a>, and then we copied this source file to the simulated machine to install it.The configuration just like:<br>
../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 <br>When the "make" instruction is performed ,errors appeared like:<br>
make: Fatal error: Command failed for target `all-gcc'<br>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:<br>
make: Fatal error: Command failed for target `all-gcc'<br>we change the instruction to "gmake install"(after perform "gmake" successfully),error still appeared like:<br>/bin/sh: ../gcc-3.4.3/install-sh: not found<br>
/bin/sh: ../gcc-3.4.3/install-sh: not found<br>/bin/sh: ../gcc-3.4.3/install-sh: not found<br>gmake[1]: *** [install-common] Error 1<br>gmake[1]: Leaving directory '/usr/test/gcc-build/gcc'<br>gmake: *** [install-gcc] Error 2<br>
We have no idea about what's wrong with it.Could you help us? Thanks a lot!</div>
<div> </div>
<div>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!</div>
<br><br>
<div><span class="gmail_quote">2008/5/6, Jayaram Bobba <<a href="mailto:bobba@cs.wisc.edu">bobba@cs.wisc.edu</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Yes, that is correct. I would also suggest compiling natively<br>and copying the executables over to the simulated system...<br>
<br>Jayaram<br><br>li he wrote:<br>><br>> Dear list,<br>><br>> I've set up gems-2.0 environment and I'm trying to compile the<br>> transactional microbenchmarks "sortedList" included in it. After<br>
> having the files inside my simulated simics machine (a SPARC with<br>> Solaris 10), when I compile it,errors appeared like<br>> /var/tmp//ccP5j6V5.s: Assembler messages:<br>> /var/tmp//ccP5j6V5.s:1121: Error: Illegal operands<br>
> After having googled the maillist,there is a solution which works:"<br>> Can you try using the assembler located in /usr/ccs/bin/as and<br>> recompile gcc with these flags: --with-as=/usr/ccs/bin/as<br>> --without-gnu-as "<br>
> how to recompile? Download the gcc source file and install it with<br>> configuration that "--with-as=/usr/ccs/bin/as --without-gnu-as"?<br>><br>> Thanks a lot!<br>><br>> leona<br>><br>> ------------------------------------------------------------------------<br>
><br>> _______________________________________________<br>> Gems-users mailing list<br>> <a href="mailto:Gems-users@cs.wisc.edu">Gems-users@cs.wisc.edu</a><br>> <a href="https://lists.cs.wisc.edu/mailman/listinfo/gems-users">https://lists.cs.wisc.edu/mailman/listinfo/gems-users</a><br>
> Use Google to search the GEMS Users mailing list by adding "site:<a href="https://lists.cs.wisc.edu/archive/gems-users/">https://lists.cs.wisc.edu/archive/gems-users/</a>" to your search.<br>><br>><br>
<br>_______________________________________________<br>Gems-users mailing list<br><a href="mailto:Gems-users@cs.wisc.edu">Gems-users@cs.wisc.edu</a><br><a href="https://lists.cs.wisc.edu/mailman/listinfo/gems-users">https://lists.cs.wisc.edu/mailman/listinfo/gems-users</a><br>
Use Google to search the GEMS Users mailing list by adding "site:<a href="https://lists.cs.wisc.edu/archive/gems-users/">https://lists.cs.wisc.edu/archive/gems-users/</a>" to your search.<br><br></blockquote></div>
<br>