Solved

Error while Creating the object file using cris cross compiler.

Posted on 2006-11-08
3
274 Views
Last Modified: 2010-04-21
I have installed the cris cross compiler and the SDK for the axis 83+ developer board.
I created a sample c program as to print hello in home/user/apps/hello.
I ran the init_env file also.
Then i created a makefile and stored in the same folder where the hello.c resides.
Then i issued make cris-axis-linux-gnu in the root directory.
Then i changed to folder hello and issed the command make cris-axis-linux-gnu
the output of the above command was this
[mercy@linux hello]$ make cris-axis-linux-gnu
make[1]: Entering directory `/home/mercy/apps/hello'
rm -f hello *.o core
cp "/home/mercy/apps/hello/.tmp.target-makefrag" .target-makefrag
make[1]: Leaving directory `/home/mercy/apps/hello'
the final step is to issue make command.
the result was as below
[mercy@linux hello]$ make
HB?gcc-cris  -isystem /home/mercy/target/cris-axis-linux-gnu/include -mlinux
-Wall -Wshadow -O2 -g    -c -o hello.o hello.c
make: gcc-cris: Command not found
make: *** [hello.o] Error 127

so the obj file was not created..
plz tell me what wuld b the issue and the possible solution aslo..
0
Comment
Question by:genesiscircle
3 Comments
 
LVL 24

Accepted Solution

by:
fridom earned 500 total points
ID: 17903993
where is gcc-cris?

Find it and put it somewhere in your PATH or use some absolute path to it.

Regards
Friedrich


0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
null coming in rpm name 3 65
Cloning a part of HDD MIPS Linux 16 112
CRON expression that fires every other Tuesday 3 103
Linux Hanging with disable Error Output 4 83
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question