Jump to content
Excelsior Forums

widom

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Everything posted by widom

  1. Here are some installation tips for Ubuntu Linux. Some Ubuntu Linux distributions are missing below packages and therefore you need to get them install before setting XDS/TSCP: libc6-dev (GNU C Library, development libraries and header files) libncurses5-dev (Developer's libraries and docs for ncurses) Do not forget to add /usr/local/xds/bin to users PATH. You can do it by simple adding below lines to /etc/profile PATH=$PATH:/usr/local/xds/bin export PATH
  2. For today's programmers /a specially for students/ Modula-2 sounds like a name from Jurassic time, but I am still using it each time I need to write stable code quickly. Of course could be good to hear feedback if still anybody starts working on new projects and choosing Modula ?
  3. I am looking for Modula-2 modules or library to access SQL database. Prefered database is Sybase SQL Anyware, but others one are fine too, including ODBC and MySQL. Any suggestions and links are welcome to hear.
  4. It was tested on Linux Ubuntu 8.04 LTS Desktop Edition. Works fine.
  5. Please read forum topic "Ubuntu Linux - Extra installation notes for XDS-86/TSCP" for additional installation information on Linux (Ubuntu). It also covers -lncurses issue.
  6. Hi, Plaing with XDS-86 on Ubuntu Linux I have met XDS is generating automaically "-lncurses" when calling gcc and later the ld linker. This option seems to not be supported under Ubuntu. This opion is predefined in (XDS) xc.tem file for setting: env_target=x86linux What's interesting all other env (AIX, Free BSD, std. Linux) settings are not set to generate this option, they only do "-lm". I have remooved "-lncurses" out of xc.tem (x86linux) and XDS still works fine. Does anybody know what was the purpose of using "-lncurses" for gcc (ld) call ? Tom Telesfor
  7. widom

    Modula-2 IDE

    Does anybody know how to configure Modulipse to call XDS-86 compiler ? It seems Modulipse is prepared for GNU Modula-2 and there are some compiler option calls unsutable for XDS.
  8. widom

    Missing BiosIO.c in TSCP (Linux)

    Thank you very much snowman
  9. Anybody knows how/where to download BiosIO.c from ? Tom Telesfor
  10. I have installed ncursed-dev package and now -lncures works fine. Problem is solved. The XDS-86 + TSCP works very nice under Ubuntu Linux now. Thank you snowman
  11. Hello, I have installed XDS-86 on Ubuntu Linux and it mostly work fine. I have noted unexpected problem when importing BiosIO related modules from TSCP. MODULE test; IMPORT BiosIO; BEGIN (* whatever goes here *) END test. copilation: /usr/local/xds/mod/test$ xc =m test.mod O2/M2 development system v2.51 TS © 1999-2003 Excelsior, LLC. (build 10.05.2005) #project is up to date gcc -o test test.o /usr/local/xds/lib/x86/libts.a /usr/local/xds/lib/x86/libxds.a -lm /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `no symbol': (.text+0x1c1): undefined reference to `echo' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `no symbol': (.text+0x1c6): undefined reference to `nl' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `no symbol': (.text+0x1cb): undefined reference to `cbreak' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_RdKey': (.text+0x25a): undefined reference to `getch' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x34b): undefined reference to `initscr' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x353): undefined reference to `stdscr' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x358): undefined reference to `keypad' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x360): undefined reference to `stdscr' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x365): undefined reference to `nodelay' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x36a): undefined reference to `cbreak' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x36f): undefined reference to `noecho' collect2: ld returned 1 exit status make: *** [test] Błąd 1 external command fault 2: make -f tmp.mkf I have tried to rebuild "tslib.a" but unfrtunatelly tslib.mkf includes reference to ../../../../src/TSlibs/POSIX/BiosIO.c and it is not supplied with Linux TSCP pack. Anybody knows how to get BiosIO.c and to rebuild "tslib.a" (I expect this can issue my missing reference problem above). Tom Telesfor
  12. widom

    Missing BiosIO.c in TSCP (Linux)

    If not borrowing from XDS-C, than what is the issue, since XDS-86 does not include it ? Snowman, please advice.
  13. I have installed ncurses-dev and now everything works fine including all TSCP. Thank you snowman.
  14. widom

    Missing BiosIO.c in TSCP (Linux)

    Thank's for your replay. Yes, the TS was old Jansen & Partners Int Modula-2 for DOS. But in case of XDS there is a Linux compatibility pack. That what I ttried. Actually I was expecting BiosIO.c to be a part of XDS TSCP (Linux) distribution, since all other modules are (e.g. IO.c ec). This file seems to be missing in XDS Linux distribution. What is intereting it is actually pointed from tslib.mkf in line: ../../../../src/TSlibs/POSIX/BiosIO.c so, XDS used it for building it's libts.a My problem originally came from testing TSCP (XDS(. After imporing some modules like IO or Window, I have got error (see below). One of ideas was to rebuild a libts.a library again, but then I apoint a problem of missing BiosIO.c MODULE test; IMPORT BiosIO; BEGIN (* whatever goes here *) END test. /usr/local/xds/mod/test$ xc =m test.mod O2/M2 development system v2.51 TS © 1999-2003 Excelsior, LLC. (build 10.05.2005) #project is up to date gcc -o test test.o /usr/local/xds/lib/x86/libts.a /usr/local/xds/lib/x86/libxds.a -lm /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `no symbol': (.text+0x1c1): undefined reference to `echo' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `no symbol': (.text+0x1c6): undefined reference to `nl' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `no symbol': (.text+0x1cb): undefined reference to `cbreak' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_RdKey': (.text+0x25a): undefined reference to `getch' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x34b): undefined reference to `initscr' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x353): undefined reference to `stdscr' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x358): undefined reference to `keypad' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x360): undefined reference to `stdscr' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x365): undefined reference to `nodelay' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x36a): undefined reference to `cbreak' /usr/local/xds/lib/x86/libts.a(BiosIO.o): In function `BiosIO_BEGIN': (.text+0x36f): undefined reference to `noecho' collect2: ld returned 1 exit status make: *** [test] Błąd 1 external command fault 2: make -f tmp.mkf
  15. widom

    Modula-2 IDE

    Thank's uranus. p1 Modula support PPC only, and i386 is supported via C. In the Modulipse there is default GNU Modula-2 as default, so I was considering if exists one. Widom
  16. widom

    Modula-2 IDE

    I have installed Modulipse env under MAC OSX 10.5.2 Leopard. It works fine but how do I get now any Modula-2 compiler for MAC than ? Modulipse seams to be design to work with GNU Modula-2 compiler but I can't see any compiler for MAC. Anybody can advice Widom
  17. Thank's a lot. I have tried too. It seams it does not work either.
  18. I have noted following problem when using TopSpeed Modula compatibility pack -IO.RdCard() function. The first IO.RdCard() goes fine. But all next one keeps in read buffer the last red CARDINAL digit. Therefore it is diplaying a wrong value when next IO.RdCard() executed. This problem only happen when Window.def is imported and used ! Following screenshots below shows the problem: 3 * 3 = _ (*OK - the read buffer is empty, so I type a result 9 *) 4 * 5 = 9_ (* The read buffer still keeps old previous input 9 *) Any idea how to cean the read buffer ? w := c1 * c2; IO.WrCard(c1,1); IO.WrStr(" * "); IO.WrCard(c2,1); IO.WrStr(" = ");Window.CursorOn; c := BiosIO.RdKey();
×