LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 02-20-2011, 06:20 AM   #1
kpradheep
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Rep: Reputation: 0
Thumbs up While installing Simple scalar utility 990811 on FC 13, make file is not creating


I am attempting to install simple scalar toolset on Fedora core 13. I am running simple scalar utilities 990811. While giving make all install I am getting the error make[2] : ***[install-data-yes] Error 1
make[2]: Leaving directory '/home/pradheep/chronos/simpleutils-990811/bfd/po'
make[1]: *** [install-recursive]Error 1
make[1]: Leaving directory '/home/pradheep/chronos/simpleutils-990811/bfd'
make: *** [install-bfd]Error 2
 
Old 02-20-2011, 10:50 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Can you give me the whole process that you are doing, starting with ./configure?
 
Old 02-20-2011, 10:58 PM   #3
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
And one more question... Where are you downloading simpleutils-990811.tar.gz from?
 
Old 02-21-2011, 11:18 PM   #4
kpradheep
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up Procedure for simpleutils

Quote:
Originally Posted by corp769 View Post
Can you give me the whole process that you are doing, starting with ./configure?
SimpleScalar simulators To install the SimpleScalar simulators, first untar
simplesim-3.0.tgz, which yields a sub-directory simplesim-3.0. Then invoke the following
commands to compile it:
cd simplesim-3.0 && make
SimpleScalar GCC and related binary utilities. First we need to install the binary utilities
which will be used for compiling SimpleScalar cross GCC. After that we can install SimpleScalar
GCC. The steps are described as follows2
1. Build SimpleScalar binary utilities:
tar -xvzf simpleutils-990811.tar.gz
tar -xvzf simpletools-2v0.tar.gz
then go to the sub-directory simpleutils-990811
./configure --host=i386-*-linux --target=sslittle-na-sstrix
--with-gnu-as --with-gnu-ld --prefix=$IDIR
Note that the above commands are only applicable to Intel/x86 platform running Linux.
You may need to change some of the parameters on a differnt platform. Please refer to
SimpleScalar user guide [2] for more details.
make all install
This will produce utilities installed under $IDIR/sslittle-na-sstrix/bin
2. Build SimpleScalar GCC:
export PATH=$PATH:$IDIR/sslittle-na-sstrix/bin
This is very important! It ensures the following cross compilation will search the right
locations for the utility binaries targeted to SimpleScalar, instead of using the native GNU
utilities.
tar -xvzf gcc-2.7.2.3.tgz
cd $IDIR/gcc-2.7.2.3
./configure --host=i386-*-linux --target=sslittle-na-sstrix
--with-gnu-as --with-gnu-ld --prefix=$IDIR --enable-languages=c
make
make install
 
Old 02-21-2011, 11:25 PM   #5
kpradheep
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up Web site and simple scalar version used

Quote:
Originally Posted by corp769 View Post
And one more question... Where are you downloading simpleutils-990811.tar.gz from?
http://www.simplescalar.com/
 
Old 03-04-2011, 11:57 AM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The recipe you posted makes reference to the variable $IDIR, but none of the references seems to define it. Has that been done somewhere that you haven't shown?

--- rod.
 
Old 03-04-2011, 01:16 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# yum install compat-gcc-34-c++
Will install gcc / g++ version 3.4.6 .

Example , simplesim : tar xvf simplesim-3v0d.tgz
cd simplesim-3.0/ , and edit the Makefile , line 80 to :
CC = gcc34
http://www.linuxquestions.org/questi...12-a-799090/#2

http://www.linuxquestions.org/questi...ared-737015/#2

..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a simple file system module Raynus Linux - Kernel 2 10-07-2008 06:39 PM
A Utility that creates .SFV (Simple File Verify) neville310 Programming 1 04-26-2007 01:23 AM
trouble installing utility make/configure shalombi Linux - Desktop 6 02-06-2007 10:52 AM
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 09:58 PM
Creating a make.conf file Gsee *BSD 44 11-10-2004 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration