?
Solved

Error while Creating the object file using cris cross compiler.

Posted on 2006-11-08
3
Medium Priority
?
282 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 24

Accepted Solution

by:
fridom earned 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

800 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