Jump to content
Excelsior Forums

nemo

Members
  • Content count

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

About nemo

  • Rank
    Newbie
  • Birthday January 1

Profile Information

  • Gender
    Not Telling
  • Location
    Canada
  1. Sorry for the tardiness but can you post a short example?
  2. XDS 2.6 beta

    I agree with Snowman here. XDS-C can even allow you to develope X-based applications but if you want Cocoa-based applications, you are asking too much for a free release.
  3. That seems to be a potential problem with the compiler. (Just to check, I compiled the code with the p2 compiler, with the substitution of STextIO for InOut, and no problem.)
  4. incompatible types

    Further to Chris' reply, you should always examine the definition of the function in the "DEF" file. It tells you how to call it and what it returns.
  5. Hello

    And you are welcome here.
  6. incompatible types

    You asked about: Num $:= ReadInt; First clue: What is the definition of ReadInt?
  7. > I'd say the simplest solution would be to open hola.mod back up in the editor I would suggest "touch" so that there is no possibility of accidentally changing the file.
  8. I also use Ubuntu 8.10 and have no problem. With my installation, running "xc =m hello.mod" gives me the following. O2/M2 development system v2.51 (c) 1999-2003 Excelsior, LLC. (build 10.05.2005) #project is up to date New "tmp.mkf" is generated using template "/home/johng/opt/xds/bin/xc.tem" gcc -o hello hello.o /home/johng/opt/xds/lib/x86/libxds.a -lm -lncurses I have two questions (which may sound silly): Do you have "make" installed and in your path? As indicated by Siegried, have you built the librairies?
  9. Calling Modula-2 from C under Linux

    Hhmmm.. The file cmain.c in the native Linux distribution is an example of how to call a Modula-2 function from C after first initializing the RTL and the module (as indicated by Snowman). There is an error in cmain.c: Replace "m2test.h" with "ctest.h" on line 7. After that, it works fine on Ubuntu 9.03. (Note that there is a comment in cmain.c that you cannot use MSVC.)
  10. DEBIAN 5.0 and XDS-x86

    I had the same problem in Ubuntu 8.04. (This seems to have been reported as Bug #442418 to the Debian list, with the claim that it is now fixed.) According to what I found, the problem is claimed to be due to compiling in 32-bit mode on a 64-bit machine. Following instructions I found on the web, I removed the inclusion of /usr/include/asm/sigcontext.h on line 193 of X2C.c (by enclosing it in comments) and it now seems to work (so far). Perhaps Snowman may wish to comment further on this. john
  11. XDS+tscp for 68000 processor

    sudeep_duge wrote (in part): How are you doing this? Was there a version of TS that produced 68k code?
  12. DEBIAN ECTH & Native XDS-x86 f

    Is InOut.sym in your /usr/local/xds/sym/x86 directory and does it have global read permission? john
  13. DEBIAN ECTH & Native XDS-x86 f

    I just downloaded and tried building the library on Ubuntu 8.0.4 with gcc-4.2.3. Compilation of X2C.c failed with errors. I then downloaded and tried building the library on SuSE 9.3 with gcc-3.3.5. No problems. Hhhhhmmmm.... gcc has changed. Which version of gcc are you using and exactly what do you mean by the compiler faults? Where does it fail? john
  14. DEBIAN ECTH & Native XDS-x86 f

    gemma1 wrote (in part): > I added the /usr/local/xds/sym/X86 into the PATH too but any result I have two questions: (1) Do you really mean xds/sym/X86, that is, did you rename the directory from x86 to X86? (2) Did you build the x86 library as specified in the readme.txt file? john
  15. This is a business decision that I accept but could you please satisfy my curiosity? Is the compiler written in Modula-2 and were compiler tools used?
×