DSPRelated.com
Forums

DSP c6711

Started by shiva June 3, 2013
hi
I have written a simple program on C6711 Simulator to learn how to work with the board and CCS programming. The C program is written in 5 files and they've constructed a project. I've included the math and stdio libraries but some of the basic functions such as sin and also printf are undefined while I run the program. I don't know how can I solve this problem. would you please help me?

_____________________________________
Shiva,

There are only three things needed to access a library.
1) the configuration of the project includes the path(s) to the libraries.
2) the linker command file includes the library references.
3) the source files(s) that reference the library include the requisite header
files via a #include and #include
or if your program is written in C++ #include and #include

If you need further assistance, please include the relevant parts of the file
listings and the contents of the path to libraries entry in the project
configuration.

By 'run the program' do you mean:

while compiling, error messages are output
-- or --
while linking, error messages are output
--or--
do you mean the addresses of the actual executable functions have 0's in them in
the final/target executable?
R. Williams

---------- Original Message -----------
From: "shiva"
To: c...
Sent: Sun, 02 Jun 2013 08:26:49 -0000
Subject: [c6x] DSP c6711

> hi
> I have written a simple program on C6711 Simulator to learn how to
> work with the board and CCS programming. The C program is written in 5
> files and they've constructed a project. I've included the math and
> stdio libraries but some of the basic functions such as sin and also
> printf are undefined while I run the program. I don't know how can I
> solve this problem. would you please help me?
------- End of Original Message -------

_____________________________________