home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6255 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  2.1 KB

  1. Path: sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealth
  2. From: ochealth@unixg.ubc.ca (ochealth)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: Creating a DLL with GCC 2.2.2
  5. Date: 6 Nov 1992 22:33:03 GMT
  6. Organization: University of British Columbia, Vancouver, B.C., Canada
  7. Lines: 38
  8. Message-ID: <1derqvINNntr@iskut.ucs.ubc.ca>
  9. References: <Rg1RTB1w165w@dat1hb.north.de>
  10. NNTP-Posting-Host: unixg.ubc.ca
  11.  
  12. In article <Rg1RTB1w165w@dat1hb.north.de> lion@dat1hb.north.de (Daniel Tietze) writes:
  13. >Hi!
  14. >We are currently trying to persuade GCC 2.2.2 (and LINK386, of course) to
  15. >produce a DLL (for experimentation reasons with just one function:
  16. >DebugMsg() ).
  17.  
  18. >Sorry if this seems basic and unknowledgable, after all, we're just starting,
  19. >aren't we?
  20. >
  21.  
  22. I don't know if GCC/2 supports DLLs. A DLL needs some different start up code
  23. linked with it.
  24.  
  25. However, EMX-GCC (which also uses the gcc 2.2.2 compiler) DOES support
  26. DLLs, and has the proper startup code. EMX-GCC can be found at the same place
  27. you got GCC/2. If you get emxdev, gnudev, and emxtest you will get the
  28. compiler. libraries, and test files which show you how to write and use
  29. DLLs (among other things). Make sure you get EMX 0.8e.
  30.  
  31. IF someone does know the extra things needed to get GCC/2 supporting DLLs,
  32. then they can post a followup.
  33.  
  34. >Any information and hints would be greatly appreciated.
  35. >                        Daniel Tietze
  36. >
  37. >+------------------------------------------------------------------+
  38. >| Daniel Tietze, 2800 Bremen 1,  Tel.(voice) : 0421/448806         |
  39. >|-=============- DATELINE Communications, Bremen.  The home of DMS |
  40. >| Mail: (private) lion@dat1hb.north.de (univ) E07J@DHBRRZ41.BITNET |
  41. >|-====- DMS-Support: dateline@dat1hb.north.de                      |
  42. >+------------------------------------------------------------------+
  43.  
  44.  
  45. -- 
  46. ______________________________________________________________________________
  47. jpm: ochealth@unixg.ubc.ca         
  48.                             Happily using OS/2 2.0 because MS Windows isNT ___
  49.                                                       Insert VapourFeature ^^^
  50.