home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / c / 12398 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  1.7 KB

  1. Path: sparky!uunet!sun-barr!apple!apple!netcomsv!proto!joe
  2. From: joe@proto.com (Joe Huffman)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Borland using MSC libs
  5. Keywords: libs obj borland bcc msc
  6. Message-ID: <1992Aug16.183316.1948@proto.com>
  7. Date: 16 Aug 92 18:33:16 GMT
  8. References: <1992Aug13.182240.15939@tamsun.tamu.edu> <19591@fritz.filenet.com>
  9. Distribution: comp.lang.c
  10. Organization: Prototronics @ Sandpoint, Idaho
  11. Lines: 30
  12.  
  13. scotth@felix.filenet.com (Scott Hopson) writes:
  14.  
  15. >In article <1992Aug13.182240.15939@tamsun.tamu.edu> miller@eemips.tamu.edu (Kelly M Miller) writes:
  16. >>
  17. >>Is it possible to link in libs created under MSC 5.0
  18. >>into a Borland C app? What must I include in the link?
  19. >>the MSC libs? Must I exclude some of the Borland libs?
  20. >>
  21.  
  22. >The answer is a big NO, although it might work for some functions
  23. >Borland does not support linking of MSC Libs.
  24.  
  25. Practically speaking, you are correct.  But it is possible to build 
  26. libraries that will link and run with multiple compilers.  The Flash
  27. Graphics library that my company sells will link with Borland (including
  28. use with Pharlap's 16-bit DOS extender), Microsoft, and Zortech (includeing
  29. Rational System's '286 extender) with nearly all memory models.  It is
  30. some extra work, but we figure we make up for it by not having to test
  31. quite so throughly with all the variations.  We throughly test with once
  32. compiler and all memory models and all graphics adapters then a cursory 
  33. test with all compilers, all memory models, and one graphics adapter.
  34.  
  35. If you are interested in how to build such a library, send me email...
  36.  
  37. In general, this is not possible with C++.  This because the name mangling
  38. is different between compilers.
  39.  
  40. -- 
  41. netcom!proto!joe
  42. joe@proto.com
  43.