help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to supress debug symbols?


From: John W. Eaton
Subject: How to supress debug symbols?
Date: Mon, 11 May 2009 11:45:08 -0400

On 10-May-2009, Alexander Mamonov wrote:

| I'm trying to compile Octave from the recent sources (MinGW TDM gcc
| 4.3.0), and I want to keep the size of the resulting ddl's small. I
| tried adding -Wl,--strip-debug to LDFLAGS, but it seems that it does
| not affect anything. After ./configure I can see my LDFLAGS being
| added to Makeconf, but when the dll is built, I do not see my LDFLAGS
| in the console output. If I hack Makeconf and add -Wl,--strip-debug to
| SH_LDFLAGS it works, but this is of course very ugly way of doing
| things. What is the proper way to build Octave without debug symbols?

If you don't want debugging symbols, then don't use -g in CXXFLAGS,
CFLAGS, and FFLAGS.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]