Solution

belwafi kais kaisbelwafi at gmail.com
Sun Mar 14 01:43:55 UTC 2010


Hi

I need to compile a program in i386 target. I finish the instal as you say
in your web site, exactly in the part <<*MinGW Tools for Windows*: windows
installers>>.
When i compile hello world program, there are a problem that appear to me.
This problem is:


kais at YOUR-4CC0CB6926 /c/msys/1.0/home/kais
$ i386-rtems4.9-gcc se1.c
*se1.c:1:19: error: rtems.h: No such file or directory*
se1.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'Init'
se1.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'Task_1'

*se1.c:6:16: error: bsp.h: No such file or directory*
se1.c:16:28: error: rtems/confdefs.h: No such file or directory
se1.c:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'Task_i
d'
se1.c:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'Task_n
ame'
se1.c:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'Period
s'
se1.c:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'Priori
ties'
se1.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'Init'
se1.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'Task_1


Please give me a solution to avoid this problem.

Thinks



'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20100314/caf77482/attachment.html>


More information about the users mailing list