Re: nios2 fails to link spcache01

2014-09-03 Thread Joel Sherrill
Thanks for the hint. The preferred way is to pick up the .rel from the libcpu directory. # Cache libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel Long term, we probably need a better solution. On 9/3/2014 10:05 AM, Hesham Moustafa wrote: > # Cache > libbsp_a_SOURCES += ../../../li

Re: nios2 fails to link spcache01

2014-09-03 Thread Hesham Moustafa
I came across this problem (as I currently implementing cache manager). First I tried to add my new cache.c implementation at this libcpu/or1k/Makefile.am line: "## shared/cache include_libcpu_HEADERS = ../shared/include/cache.h noinst_PROGRAMS += shared/cache.rel shared_cache_rel_SOURCES = shared

nios2 fails to link spcache01

2014-09-03 Thread Joel Sherrill
Hi Any suggestions on how to address this? nios2-rtems4.11-gcc -B../../../../../nios2_iss/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../rtems/c/src/../../testsuites/sptests/spcache01 -I.. -I../../../../../../../rtems/c/src/../../testsuites/sptests/../support/include