Hello everyone, it's been a while since my last message to the list.

I'm setting up a new development environment to start updating a project from 
RTEMS 4.10 to 4.11.2. It's based on Fedora 27.

The installation process through source-builder is very different from the one 
I was used to (based on tools in RPM and the 'configure' script), but it's 
pretty easy. Congrats for the improvement!

I followed the instructions on 
https://docs.rtems.org/branches/master/user/installation/releases.html, just 
changing the prefix ('/comav/rtems/build' instead of '/opt/rtems/4.11').

After installing the usual missing dependencies found during the build, it 
finished with success and everything seemed to be ok. Then I've downloaded the 
'examples' package and tried to compile hello_world_c with the simplest command 
possible:

            sparc-rtems4.11-gcc test.c -o test.exe

Just to get the following error:

            "test.c:5:19: fatal error: rtems.h: No such file or directory"

Then I realized I had not set $RTEMS_MAKEFILE_PATH. I did it, pointing to 
"{prefix}/sparc-rtems4.11/sis", with no effect. So I noticed there's no 
reference to such environment variable on the current documentation. Question 
nr. 1: is it still needed?

Afterwards, I tried to compile, this time manually stating the include path 
with "-I{prefix}/lib/include". This way the compiler finds rtems.h, but I get a 
lot of errors, starting with ld complaining it haven't found "_start" and other 
basic BSP symbols.

Probably I'm missing something basic, but for now I can't find out. Question 
nr. 2: Am I doing something wrong, or missing some installation step?

Thanks in advance and best regards,

Fabrício Kucinskis.
 
 
 


_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to