Jump to content
Excelsior Forums

christoph

Members
  • Content count

    0
  • Joined

  • Last visited

Posts posted by christoph


  1. DString is Oberon-2. From the docs: "Some library modules are written in Oberon-2, others in Modula-2. In general, any library can be used from both languages. However, do not forget that Oberon modules use implicit memory deallocation scheme and require garbage collection. Refer to the Multilangauge programming Chapter of the XDS User's Guide."


  2. I guess some work has also been done for pthreads. Have a look at the sources of GNU Modula-2, especially here:

    http://cvs.savannah.gnu.org/viewvc/gm2/examples/pthread/?root=gm2

    Some posts to the GNU Modula-2 mailing list may also be interesting, eg:

    http://lists.gnu.org/archive/html/gm2/2004-08/msg00009.html

    Here are the search results (pthreads) from the mailing list:

    http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=pthreads&submit=Search!&idxname=gm2&max=10&result=normal&sort=score

    Christoph


  3. As far as you are talking about freely available software and as long as you do not want to spend money or simply write directly to the Excelsior support I guess you'll have to use XDS-C with the compatibility pack and use a C-compiler for the target platform. As the homepage of Excelsior states: "XDS-C is a Modula-2/Oberon-2 'via C' compiler: its output is ANSI C, K&R C, or C++ source code, which is subject to further compilation by a third party C/C++ compiler." Which means older compilers will hopefully work.

    C.


  4. Is that a problem in the XDS environment and its integrated editor? If it is, have you tried to use another font (Configure - Colors and Fonts - Tab "Editor", there's a button to set the Fonts)? I use Fixedsys/Standard which works well but I am using Windows Vista. If you cannot solve the problem that way, have a look at alternative editors (e.g. Notepad++, there are some posts here to help with this).

    Good luck,

    Christoph


  5. Hi,

    choosing an IDE strongly depends on sympathy and your personal needs.

    Having said that I'd try to get into learning one of the powerful editors like Emacs or Vim. XDS Modula-2 integrates nicely with the great GNU-utilities. So using Makefiles and so on turns the mentioned editors into highly customizable environments. It's a pity XDS doesn't support GDB -

    If you want a more Windowish solution you may want to have a look at Kate. An editor for KDE coming with M2 syntax-highlighting and the ability to drive userdefined programs from the GUI.

    Here's a Spanish-only link describing a possible setup with a different compiler. Translation via one of the search-engines works acceptable.

    http://web.madritel.es/personales4/raragon/modula2/mocka.html

    You may also want to have a look here:

    http://freepages.modula2.org/m2in1.html#editor

    Hope this helps,

    Christoph


  6. If you are new to Linux do yourself something good and use XDS with GNU Make and Vim or Emacs. You can easily compile your code from the editors, also catch the output of the compiler. Syntax highlighting is also available. XDS-x86 integrates nicely with GCC, the standard installation uses GCC as its linker, if I understand things right.

    Have fun!

×