Re: [RTnet-developers] Help on compiling and debugging
Brought to you by:
bet-frogger,
kiszka
|
From: Jan K. <jan...@we...> - 2006-03-30 17:32:15
|
Marcelo Coelho wrote: > Hi! >=20 > As the subject states, i'm having some problems in compiling and > diagnosing programming errors. What tools do you use? How can i Tools for compiling? gcc ;) (personally, I'm not using an IDE, if this is what you mean) For diagnosing, there is essentially the way to instrument the code with [rtdm_]printk, RTNET_ASSERT, or also the new Adeos/Ipipe-tracing mechanism (this can be used to generate function call histories on specific events). We are unfortunately still lacking a Ipipi-aware kernel debugger. A useful hint is to run the fresh code on a dedicated system to avoid having to reboot your development box after each potential crash. We have a small specialised distribution here which incorporates RTnet in its build and install process. > incorporate my code within rtnet? Regarding code incorporation: extend the existing GNUmakefile.am with your source file(s) and re-run scripts/autogen.sh (autotools have to be installed). >=20 >=20 > Thanks >=20 >=20 > P.S.: Jan, as you're the only one responding to e-mails, are you the > only one programming rtnet? >=20 I'm the fastest at the reply button ;). There is more than a single RTnet developer (Wolfgang, e.g., is working on the PowerPC world). They contribute on an irregular basis when time permits or someone pays for it= =2E Jan |