home *** CD-ROM | disk | FTP | other *** search
- Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
- From: grantp@usa.pipeline.com(Pete Grant)
- Newsgroups: comp.lang.c++,
- Subject: Re: Two Beginner Questions---Need Help
- Date: 29 Mar 1996 11:34:06 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4jghre$s5@news1.h1.usa.pipeline.com>
- References: <4jfqq4$4jn@nuscc.nus.sg>
- NNTP-Posting-Host: 38.8.120.13
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete Grant)
- X-Newsreader: Pipeline v3.5.0
-
- On Mar 29, 1996 05:00:52 in article <Two Beginner Questions---Need Help>,
- 'eng50636@leonis.nus.sg (Sun Jian)' wrote:
-
-
- >Hi, everyone. I am a C++ beginner and just finished learning the
- >basics of C++. I noticed that there are quite a lot of topics
- >which mentioned 'g++' and 'dll programming'. I really have no
- >idea of what these two concepts are. Any help is appreciated!
-
- g++ is a free compiler available via FTP from a number of
- sources. It runs on Unix as well as Unix-like operating
- systems. It's considered by many one of the better (best?)
- compilers around. It is a part of a family of tools
- available from the Free Software Foundation (FSF) -- all
- for free, as the name implies. I understand it's also
- available for DOS under the name DJGPP(?).
-
- DLL is a dynamic link libaray. Normal libraries are linked
- into your program statically; i.e., they become permanent
- parts of your program. The advantage of static libs is
- that you can produce an executable that is complete and
- can run wihtout anything but the operating system.
-
- A disadvantage of static libraries is that the executable
- is larger. Another is that many programs use the same
- library, and in static mode, each has its own copy. This
- is especially wasteful when you are running many programs
- that use a particular library.
-
- A dynamically linked library, on the other hand, is
- 'attached' to your program at run time. This can make
- your executable smaller, but requires that the system
- be able to find the DLL when you execute your program.
-
- --
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-