I use the CFLAGS=-O2 ./configure to build the ethereal, but I still can
found debug information in the final executable file, why ?
On 12/20/05, Joerg Mayer <jmayer@xxxxxxxxx> wrote:
On Tue, Dec 20, 2005 at 05:56:35PM +0800, Kelvin You wrote:
> There are two question about the compile. Need your help, Thanks very much
> !~~
>
> Platform: Linux
>
> 1. How can I build the ethereal without "-g" optional under Linux?
> Need I modify the "configure" ?
with bash (or another sh compaltible shell): CFLAGS=-O2 ./configure
> 2. How can I add a plugin to the makefile ? so that when I use "make
> install", it will install the ethereal with my plugin.
Create a subdir in plugins, put your dissecotr and the relevant make
files there (see README.plugins). Then add your new directory to
plugins/Makefile.am. After autogen.sh + configure, you'll have a
Makefile containing the needed install target.
Ciao
Joerg
--
Joerg
Mayer
<jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev