This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiling app using libstdc++


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]