This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: compiling app using libstdc++
- To: Benjamin Kosnik <bkoz at cygnus dot com>
- Subject: Re: compiling app using libstdc++
- From: larsbj at lyx dot org (Lars Gullik Bjønnes)
- Date: 02 Dec 1999 01:04:19 +0100
- Cc: libstdc++ at sourceware dot cygnus dot com
- References: <Pine.SUN.3.91.991201145627.395A-100000@rtl.cygnus.com>
Benjamin Kosnik <bkoz@cygnus.com> writes:
| > LyX even runs. Although, it took 2 hrs to compile. I'll turn of the -g
| > switch form now on... (I also noted that I had to compile with
| > exceptions turned on)
|
| Yikes. Note that there has been no performance analysis/tuning for either
| executable speed, compilation time, or executable size.
with -g lyx compiled to 39MB non-striped
size reported ca. 3MB
| > I tried to compile with "-ansi -Wall -Weffc++", something I consider
| > useful with a lot of applications. However this generates a _lot_ of
| > warnings from the stdc++ headers.
|
| Yeah. -Wall should work now, -ansi is not really worthwhile now, because
| of the
|
| #include_next
I only get warnings for that if I also have -pedantic.
| If you are interested in cleaning headers, I'd start with -Weffc++
| stuff.
Agree. I will see if I have some spare time.
Lgb