Mail Archives: djgpp/1996/10/19/05:07:11
Daniel Arbuckle wrote:
>
> Does gcc automatically link libgpp.a with C++ programs? If so, how can I stop it?
> Thanks
Not unless you use the 'gxx' program to compile C++ instead of 'gcc'.
To avoid using libgpp.a, you can manually specify the libraries to link
using something like: "gcc ... -liostream". This will only link
libiostream.a which does not fall under the GNU General Public License.
--
John M. Aldrich <fighteer AT cs DOT com>
* Anything that happens, happens.
* Anything that, in happening, causes something else to happen,
causes something else to happen.
* Anything that, in happening, causes itself to happen again, happens
again.
* It doesn't necessarily do it in chronological order, though.
--- Douglas Adams
- Raw text -