Archive for July, 2008

Script fails with “No such file or directory”

July 9, 2008

While running a script it fails immediately with “No such file or directory“. Even a print or echo command in the second line of the script is ignored. The used program to process the script does exist and is running, too. In this case checking the line endings may help:

file nameofthescript

will report:

ISO-8859 English text, with CRLF line terminators

but expected is:

ISO-8859 English text

The problem are the CR/LF line endings. These are typically used from MS Windows applications. Correct the line endings using any editor. For MS Windows try the Notepad++ open source editor. It has a build-in menu item to fix the line endings: Format -> Convert to Unix.

QNX Momentics IDE Tau – Eclipse 3.2 with CDT 4 – Installation on Windows XP

July 3, 2008

This post is only a rough outline of installing a new IDE for QNX.

Download the Development Build of the IDE and the momentics-632-patch-for-profiler from

Follow the instructions on the Wiki page Builds_Tau_Integration

And get a faster and more useful IDE for QNX.

I would suggest to give the IDE some more memory in the qde.ini file change -Xmx512M to -Xmx700M.

Another tweak would to rename the eclipse/jre directory. This way the qde.exe does not find the embedded JRE 5 but instead the one installed on your system. So it is possible to benefit from the speedup from Java 6. In case you get any trouble you can rename the directory back again and QDE will start the next time with the embedded Java VM.

Afterwards I’ve updated binutils and gcc, too. These are the download locations I used:

I follow the instructions at

the obvious required change is to use 4.2.3 as the version number.

and later on:

I hope that you enjoy the IDE, too. Now I’m waiting for CDT 5.0 …