home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11841 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.7 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!umn.edu!staff.tc.umn.edu!wright
  2. From: wright@staff.tc.umn.edu (Mark Wright)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Phar Lap 286-lite problem
  5. Message-ID: <1993Jan7.005122.28069@news2.cis.umn.edu>
  6. Date: 7 Jan 93 00:51:22 GMT
  7. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  8. Organization: University of Minnesota
  9. Lines: 34
  10. Nntp-Posting-Host: staff.tc.umn.edu
  11.  
  12. Because of some serious memory problems, I've been fourced to try out that
  13. stupid LITE286 thing that came with Borland 3.1, and I've been having the
  14. following problem.
  15.  
  16. I have 3 files and a library I need to link together.  The files are
  17. 1533    LSTSQRS\LSQ.C
  18. 554    LSTSQRS\LSQIO.C
  19. 572    LSTSQRS\MATRIX.C
  20. 2659    total
  21. where the number is the number of lines in each.  The library is one I've
  22. built using bcc286 and tlib.  When I do a plain old real mode
  23. "bcc -ml lsq.c lsqio.c matrix.c mwl.lib", everything is just hunky-dory.
  24. However, when I try to "bcc286 lsq.c lsqio.c matrix.c mwe.lib", I get a
  25. DGROUP >64K error.  The lite286 docs say that I should adjust the stack size,
  26. but that doesn't help, no matter how small I make the stack.
  27.  
  28. So what's the problem?  Can I use tlib with protected mode .obj's?  Do I have
  29. to spend $500 to get the real Phar Lap extender, or will I have the same
  30. problem with that?  If I have to buy the sdk, should I go with Phar-Lap?
  31. All I want is to be able to malloc() > 640k worth of long doubles (total, not
  32. necessarily in one block), and not have to make any changes in my existing code,
  33. if possible.  Oh, and it's gotta run under windows (so no DJGPP, sigh...  of
  34. course, I'd have to re-write all the dos/borland specific stuff if I could use
  35. djgpp).
  36.  
  37.  
  38. -- 
  39. Mark Wright
  40. wright@epx.cis.umn.edu
  41.  
  42.  
  43. -- 
  44. Mark Wright
  45. wright@epx.cis.umn.edu
  46.