On 5 Feb 2001, Jean-Marc Lasgouttes wrote:
> >>>>> "Nicolas" == Nicolas SABOURET <[EMAIL PROTECTED]> writes:
>
> Nicolas> Is there any option I could give "./configure" or "make" to
> Nicolas> build a smaller file at home ?
>
> Look at the value for CXXFLAGS given when you run configure, and then
> remove the "-g", which asks for debug information. Here I get
> [...]
> C++ Compiler flags: -g -O -fno-rtti -fno-exceptions -W -Wall
> [...]
> so I can compile with
> make CXXFLAGS="-O -fno-rtti -fno-exceptions -W -Wall"
> (the same options, but not the -g).
>
Another option is to set these flags during the configuration phase:
setenv CXXFLAGS "-O -fno-rtti -fno-exceptions -W -Wall"
./configure <other flags>
> Nicolas> PS : The strip version takes only 8Mo, vs 40Mo for the
> Nicolas> regular one. What makes this difference ? Could you tell me
> Nicolas> more ?
>
> This is the debug information, that is the information which allow you
> to send us useful bug reports...
>
> JMarc
>