Hi all,
Does anybody know how to link my code to the standard libraries(in /lib/)? For example, in my Makefile, I build a binary file with my c codes using a command like this:

 gcc (object1.c) (object2.c) -o (output) -lfl

It's working fine with gcc compiler. But if I want to use this code in TinyOS, how can I do that? (Let's say I am using telosb motes with mspgcc compiler) Where should I link this library?

I've tried to replace the above command with msp430-gcc:

 msp430-gcc (object1.c) (object2.c) -o (output) -lfl

There are a lot of errors...

Any help would be very appreciated.

Regards,
Krisakorn


Reply via email to