Solved

Error while Creating the object file using cris cross compiler.

Posted on 2006-11-08
3
278 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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 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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 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