🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1759

Re: Creating a DLL with GCC 2.2.2

#1759
From: ochealth
Date: Fri, 06 Nov 1992 22:33
38 lines
2149 bytes
In article <Rg1RTB1w165w@dat1hb.north.de> lion@dat1hb.north.de (Daniel Tietze) writes:
>Hi!
>We are currently trying to persuade GCC 2.2.2 (and LINK386, of course) to
>produce a DLL (for experimentation reasons with just one function:
>DebugMsg() ).

>Sorry if this seems basic and unknowledgable, after all, we're just starting,
>aren't we?
>

I don't know if GCC/2 supports DLLs. A DLL needs some different start up code
linked with it.

However, EMX-GCC (which also uses the gcc 2.2.2 compiler) DOES support
DLLs, and has the proper startup code. EMX-GCC can be found at the same place
you got GCC/2. If you get emxdev, gnudev, and emxtest you will get the
compiler. libraries, and test files which show you how to write and use
DLLs (among other things). Make sure you get EMX 0.8e.

IF someone does know the extra things needed to get GCC/2 supporting DLLs,
then they can post a followup.

>Any information and hints would be greatly appreciated.
>                        Daniel Tietze
>
>+------------------------------------------------------------------+
>| Daniel Tietze, 2800 Bremen 1,  Tel.(voice) : 0421/448806         |
>|-=============- DATELINE Communications, Bremen.  The home of DMS |
>| Mail: (private) lion@dat1hb.north.de (univ) E07J@DHBRRZ41.BITNET |
>|-====- DMS-Support: dateline@dat1hb.north.de                      |
>+------------------------------------------------------------------+


-- 
______________________________________________________________________________
jpm: ochealth@unixg.ubc.ca         
                            Happily using OS/2 2.0 because MS Windows isNT ___
                                                      Insert VapourFeature ^^^
Technical Details
Message-ID: <1derqvINNntr@iskut.ucs.ubc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealth
References: <Rg1RTB1w165w@dat1hb.north.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealth
From: ochealth@unixg.ubc.ca (ochealth)
Newsgroups: comp.os.os2.programmer
Subject: Re: Creating a DLL with GCC 2.2.2
Date: 6 Nov 1992 22:33:03 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada
Lines: 38
Message-ID: <1derqvINNntr@iskut.ucs.ubc.ca>
References: <Rg1RTB1w165w@dat1hb.north.de>
NNTP-Posting-Host: unixg.ubc.ca