home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 6961 < prev    next >
Encoding:
Text File  |  1992-12-12  |  1.3 KB  |  40 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!josef!caliaro
  3. From: caliaro@avalon.physik.unizh.ch (Aurelio Caliaro)
  4. Subject: DDE2OS.ZIP
  5. Message-ID: <1992Dec12.131624.22976@ifi.unizh.ch>
  6. Sender: news@ifi.unizh.ch (USENET News Admin)
  7. Nntp-Posting-Host: avalon
  8. Organization: University of Zurich, Department of Computer Science
  9. X-Newsreader: Tin 1.1 PL4
  10. Date: Sat, 12 Dec 1992 13:16:24 GMT
  11. Lines: 27
  12.  
  13. The sample programs written by MacFaden@IBM do not compile without changes
  14. on EMX-GCC. In fact, there are 2 things that must be changed: First:
  15. replace the // comment notation with /* */.
  16. Second: remove the itoa((int)CF_TEXT, szBuf, 10) in server.c, and insert into
  17. the following line "1" (without "") instead of szBuf.
  18. I renamed the new .c-files as .emx.c
  19.  
  20. Compiling works as following:
  21.  
  22. gcc -g -c client.emx.c 
  23. gcc -g -o client.prov client.emx.o -los2 -Zmt
  24. rc -r -i \emx\include client.rc
  25. emxbind -bpq -rclient.res /emx/bin/emxl client.prov
  26.  
  27. gcc -g -c server.emx.c
  28. emxomf server.emx.o
  29. gcc -g -Zomf server.emx.obj server.def -o server.exe -los2
  30.  
  31. The complete package (including the exe files) can be gotten as uudecoded
  32. mail. If you are interested in it, mail me to
  33.    caliaro@avalon.physik.unizh.ch
  34. or post the request into this group.
  35.  
  36.  
  37.  
  38.  
  39.              Aurelio Caliaro
  40.