delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/20/13:45:20

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Did someone write LIBRARY in DJGPP ?
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <v0thss49jlm12bpn4t2mj7n8gd9v5aofkh@4ax.com>
References: <8q8ld8$iik$1 AT info DOT cyf-kr DOT edu DOT pl> <000a01c0228d$8de98b40$c040183e AT vchs>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 18
X-Trace: /wLwTbTsOK+sYrlmTSiJdwdra7bJFOTiVZhObSv3kLwYG+gwrY25mEqm/jP5xUBDLccpfLOhDgJC!xzy76HXt27MRiBwBSmVDI2mDalueamEcWYwdZxRqxhUyjNyMhx+Ckf5qXc7G19y2FMhni5AuiM9a!11PtLA==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 20 Sep 2000 17:30:22 GMT
Distribution: world
Date: Wed, 20 Sep 2000 17:30:22 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 20 Sep 2000 01:01:33 +0200, "kredba" <kredba AT mbox DOT dkm DOT cz>
wrote:

>1) gcc -c -g -O2 lib.cc -o lib.o
          ^^^^
>2) gcc -s -O2 prg.cc -o prg lib.o -lstdcxx -lm
       ^^^^

Why add debugging info if you're just going to be STRIPping it away
when you link?

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019