You are here: Home Railway RTSS Compilation / Install / Modifying the program Development environment currently in use

Development environment currently in use

On the environment in which RTSS is currently developed and maintained.

Making "Meadow" handle error messages correctly in M-x next-error

In "Meadow", you can execute M-x compile and use gcc and make that come with MinGW / MSYS by setting Path envariable correctly. However, the Makefiles of RTSS specify that the compilation will take place in a directory different from the directory where actual source files reside, and because of this the M-x next-error function will not work. The gcc and make that come with MinGW/MSYS assume that they run under MSYS, and therefore if the compilation takes place under directory C:\msys\1.0\home\username\foo, for example, they will type out error messages assuming that they are in directory /home/username/foo.

The "Junctions", something similar to symbolic links in the Unix filesystems, can be used when you use NTFS versions 3 and newer. To avoid the above issue,  you can create C:\home, which is the junction to C:\msys\1.0\home.

The methods differ for different versions of Windows. For XP, you must download and install "Windows Server 2003 Resource Kit Tools". The executable linkd.exe that comes with it will enable you to create such a junction. For Vista, you can use mklink.exe that is included in the standard Vista installation.

Filed under:
« May 2019 »