X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 5 Nov 2003 13:56:58 -0500 Message-Id: <200311051856.hA5IuwCR005678@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (cmad_x AT yahoo DOT com) Subject: Re: DJGPP doesn't support Dynamic Linking :( References: Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > I read the DJGPP does not support Dynamic Linking... It does support dynamic linking. It doesn't support shared libraries. > Altough I read DJGPP is for does DOS Extenstion (or > something)... Shouldn't it have Dynamic Linking? "shouldn't"? There's no fundamental rule that says it needs to support dynamic linking. However, we do have both DXEs and I think an old port of gnu dld somewhere. > I see DJGPP compiled executable files being huge > compared to Borland C++ compiled ones (for example)... > > Yeah, why is that exactly? Does anyone know? I compiled (and linked) > a hello world program... Borland C++ 3.1 produced a 20KB exe file... > DJGPP 2.03 produced a 230KB exe file... Why!?!? This is a different problem, addressed in the FAQ. DJGPP includes a full POSIX emulator, which adds to its size. If you don't need it, there are ways of not including it. You can get comparable executable sizes if you try hard enough.