!CC compilation stalled with BB-xM
François Vanzeveren (2221) 241 posts |
Hello I am running DDE/27 on a BBG-xM with RiscOS 5.22. This time, I did not forgot to add OSLib32 to the list of libraries ;) Unfortunatelly, !CC is stalled and never completes… !CC never proposes the save window. If I introduce a bug into the .c file, !CC detects it and display a trace. Note: I compiled successfully this script on my OpenPandora with RiscOS 5.23 If anyone has a clue on what could cause the issue… Thank you in advanced. François |
François Vanzeveren (2221) 241 posts |
Hello I tried with a very simple “Hello World” program, and !CC is unable to complete the compilation on my BBG-xM with DDE27… [code] int main(int argc, char *argv[]) { What could explain that I have no problem with my OpenPandora, but it stalls on my BBG-xM? Hope someone will have a clue.. |
James Wheeler (3283) 344 posts |
Try a more simple one, as you don’t need args and I don’t understand your includes.
|
François Vanzeveren (2221) 241 posts |
Hi Includes were stdio.h and stdlib.h No change… !CC just stalls. I will try on my Raspberry PI… |
James Wheeler (3283) 344 posts |
Do you have a working directory? C files should be in a C folder and I think and O folder might be needed too. |
François Vanzeveren (2221) 241 posts |
yes.. I followed the titorial from Steve Fryatt. yes.. I followed the titorial from Steve Fryatt.Also, on OpenPandora, this works just fine. yes.. I followed the titorial from Steve Fryatt.Also, on OpenPandora, this works just fine.Regards yes.. I followed the titorial from Steve Fryatt.Also, on OpenPandora, this works just fine.RegardsFrançois |
James Wheeler (3283) 344 posts |
I’m a bit confused by your reply, but okay. I don’t know this “Steve Fryatt” tutorial you speak of, and you didn’t link to it. The program I posted runs fine on !cc v5.72. Think I’m using DDE27 |
Steve Fryatt (216) 2105 posts |
Assuming that you’re compiling manually via the CC utility on the iconbar, it might be an idea to add
I suspect that it’s this one – I don’t know of any others. Note that it’s a work in progress, unfinished and very possibly a bad programmer’s blog – constructive suggestions for improvements are welcome. |
James Wheeler (3283) 344 posts |
Haha. I didn’t know of your site at the time I wrote that, and I wasn’t really thinking of any RO developer at the time either. What sucks is I am a bad programmer, so I doubt I’d accurately identify bad programmer blogs. I do have a few tricks to steer clear so I don’t learn anymore bad habits, though. T.T |
François Vanzeveren (2221) 241 posts |
Hi all To summarize, I successfully compile the simple “Hello World” program above on But on BeagleBoard-xM, running RiscOS 5.22, with DDE/27, it pathetically failed with !CC stalling (never leaves the ‘Running’ state)… Really weird! Could anybody with a BeagleBoard-xM or ARMini and DDE confirms it works gor him/her? Thank you in advance. François |
Steve Fryatt (216) 2105 posts |
I can confirm that it works on a Beagleboard xM in DDE 27, because that’s where the tutorial was written… Did you try turning the Verbose compiler option on as I suggested? What, if anything, did that reveal? Does the compiler think that it’s completed? |
François Vanzeveren (2221) 241 posts |
Thank you Steve, glad to hear it works on a BGB-xM… But it is running for ever… |
François Vanzeveren (2221) 241 posts |
Still running, I can also feel it on the reactivity of my computer… |
James Wheeler (3283) 344 posts |
Pretty sure it’s done, then. A little windows pops up to save it. Clicking okay puts it into the working directory. |
François Vanzeveren (2221) 241 posts |
Hi James, The window to save the compiled file never shows up, while it does on the radpberry pi and the openpandora. This issue really drives me nuts… François. |
James Wheeler (3283) 344 posts |
Maybe mention it in bugs |
François Vanzeveren (2221) 241 posts |
I do not know, Steve has it working fine on a BeagleBoard-xM too… I suspect some incompatibilities on my side… but i wonder how to identify it without breaking my system… Regards F. |
Steffen Huber (91) 1953 posts |
I would start with a clean !Boot. I remember strange problems when installing something via PackMan – I think it was called “UnixTools” or something like that. It introduced a lot of aliases for Unix-like commands right inside Predesk (or Tasks?) and subtly ruined DDE. Another idea would be a broken frontend module – this would also be solved by a clean !Boot. |
dave_j (3231) 50 posts |
|
François Vanzeveren (2221) 241 posts |
Hi Steffen and Dave… Thank you so much to everybody for your help… François |