Solved

Error while Creating the object file using cris cross compiler.

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

Industry Leaders: 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

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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

756 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