Solved

Error while Creating the object file using cris cross compiler.

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now