Hi,
I'm running the PRU-C-compiler with following parameters (as specified by the README contained in compiler package):
clpru --silicon_version=3 -I../include/ -I../build/armv7a/cgt_ccs/am335x/beaglebone/enet_lwip/ -o3 main.c -z AM3359_PRU.cmd --rom_model -o PRU_tests.out -m PRU_tests.map
This results in an error message
warning: automatic RTS selection: attempt to automatically link in index library "libc.a" failed; file not found error: no input section is linked in warning: entry-point symbol "_c_int00" undefined warning: no suitable entry-point found; setting to 0 error: errors encountered during linking; "PRU_tests.out" not built
The reason is clear: path to libc.a is not known. So my question: using which command line option do I have to announce the path to the directory containing the libraries? -L does not work...
Thanks!