brainstem setup in eclipse
The goal is to get a simple Hello world example to work with the brainstem c development. The code to get compiled is
#include "aStem.h"
int main(int argc, char *argv[])
{
printf("Hello World!\n");
return 0;
}
Project Settings:
1) GCC C Compiler -> Symbols -> Defined symbols
Add
aUnix
2) GCC C Compiler -> Directories -> Include paths (-I)
Add at least the following paths
/home/bloftin/code/brainstem/aStem/aCommon
/home/bloftin/code/brainstem/aIO/aCommon
/home/bloftin/code/brainstem/aIO/aUnix
/home/bloftin/code/brainstem/aCommon
/home/bloftin/code/brainstem/aStem/aUnix
3) GCC C Linker -> Libraries
Add at least the following Libraries
aIO
aStem
m
4) GCC C Linker -> Miscellaneous
Add at least the following object files
/home/bloftin/code/brainstem/aStem/unix_aStem_Data/ppc/aDebug/aStem.o
/home/bloftin/code/brainstem/aUI/unix_aUI_Data/ppc/aDebug/aAssert.o
/home/bloftin/code/brainstem/aIO/unix_aIOTests_Data/ppc/aDebug/aUtil.o
Note that some more files may need to be added to the above steps depending on what parts of the c development kit you are using
#include "aStem.h"
int main(int argc, char *argv[])
{
printf("Hello World!\n");
return 0;
}
Project Settings:
1) GCC C Compiler -> Symbols -> Defined symbols
Add
aUnix
2) GCC C Compiler -> Directories -> Include paths (-I)
Add at least the following paths
/home/bloftin/code/brainstem/aStem/aCommon
/home/bloftin/code/brainstem/aIO/aCommon
/home/bloftin/code/brainstem/aIO/aUnix
/home/bloftin/code/brainstem/aCommon
/home/bloftin/code/brainstem/aStem/aUnix
3) GCC C Linker -> Libraries
Add at least the following Libraries
aIO
aStem
m
4) GCC C Linker -> Miscellaneous
Add at least the following object files
/home/bloftin/code/brainstem/aStem/unix_aStem_Data/ppc/aDebug/aStem.o
/home/bloftin/code/brainstem/aUI/unix_aUI_Data/ppc/aDebug/aAssert.o
/home/bloftin/code/brainstem/aIO/unix_aIOTests_Data/ppc/aDebug/aUtil.o
Note that some more files may need to be added to the above steps depending on what parts of the c development kit you are using


0 Comments:
Post a Comment
<< Home