Jump to content
Excelsior Forums

widom

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About widom

  • Rank
    Newbie
  • Birthday 01/01/01
  1. 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 ?
  2. 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.
  3. It was tested on Linux Ubuntu 8.04 LTS Desktop Edition. Works fine.
  4. 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.
  5. 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.
  6. 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
  7. Missing BiosIO.c in TSCP (Linux)

    Thank you very much snowman
  8. 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
  9. 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.
  10. I have installed ncurses-dev and now everything works fine including all TSCP. Thank you snowman.
  11. 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
  12. Anybody knows how/where to download BiosIO.c from ? Tom Telesfor
  13. 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
  14. 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
  15. 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
×