cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
se17828
Adventurer
Adventurer
2,340 Views
Registered: ‎09-02-2010

software development

Hello, i finally have the linux kernel on my SP605 and now i want to get one with software development. Until now to cross-compile extremelly simple applications which only used printf and other simple functions i used the command "mb-linux-gcc souce.c" (with the PATH variable correctly set). My question is, is there a better way to do this? I mean, what do people use normally? Is there some SDK prepared for this? will this simple command that i have been using fail to build more complex applications?

 

Thanks for your help!

0 Kudos
Reply
1 Reply
2,336 Views
Registered: ‎10-05-2010

Hello,

this is actually not a microblaze specific task but a general Linux user space development task, so I guess it is not the right forum here.

I tell you what I do (there are plenty of approaches on how to write a complex Linux user space app):

As a C-development framework I use eclipse (see eclipe.org).

Then I use a makefile edited by hand (there are better approaches out there) which point to the correct cross-compiler.

In eclipse I simply point to this makefile (or better to the build folder where the makefile resides).

 

So in your case I would start  understanding makefiles.

 

Hop I could give you a hint.

regards,

Marco

0 Kudos
Reply