>>>>> "Yann" == Yann MORERE <[EMAIL PROTECTED]> writes:
Yann> R. Lahaye wrote:
>>
>>
>> Another option (apart from removing the -g flag) could be to apply
>> "make install-strip" instead of "make install".
Yann> Yes that's for install, but the compilation takes always 221Mo,
What you should do is look at what C++ flags are used (given at the
end of configure), and then compile with the same flags, but without
-g. For example, here I get:
Configuration:
Source code location: ../lyx-devel
C++ Compiler: g++
C++ Compiler flags: -g -O -fno-rtti -fno-exceptions -W -Wall
C Compiler: gcc
C Compiler flags: -g -O2
LyX binary dir: /usr/local/kde/bin
LyX files dir: /usr/local/kde/share/lyx
Special flags: frontend-xforms warnings included-libsigc assertions
So to avoid debug info I will compile with
make CXXFLAGS="-O -fno-rtti -fno-exceptions -W -Wall"
You can chose to add/remove some other flags, of course.
JMarc