[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gomd-devel] <DAEMON AND SCRIPTS> Lex is out.
From: |
Gian Paolo Ghilardi |
Subject: |
[gomd-devel] <DAEMON AND SCRIPTS> Lex is out. |
Date: |
Tue, 1 Jul 2003 18:09:24 +0200 |
Hi all.
1)From this version (f)lex is not longer required to build the daemon.
2)Binaries now are striped after building: strip helps a lot (i.e. 1.3MB ->
169KB for the daemon).
REMOVED: scanner./scanner.c were also removed because of lex dep removal.
IN main.cpp
(-) removed lex dependency (finally! ;)
(+) added local "port", "logfile" vars to handle the related command line
options (because no
(m) modified "iface" var: now is a C++ string, not an old C-style string
(char array)
(m) modified getLocalIPAddress() param: iface param is a C++ string
IN Makefile.with_libgtop/Makefile.no_libgtop
(-) removed lex dependency (finally! ;))
IN autotest.sh
(+) alla functions now have the keywork "function" as prefix in declaration
(to be more readable)
(m) modified function lookForFile() and : error messages are written in
green, other messages in blue. Unuseful vars were removed also.
(+) killall prints a messages even if process kill was succesfull (verbose
mode). Message is printed in blue.
IN compile.sh
(-) removed lex dependency and check (finally! ;)
(+) alla functions now have the keywork "function" as prefix in declaration
(to be more readable)
(+) added locateCommoncpp() function to check if commoncpp files are
installed (commoncpp is strictly required)
(+) added stripBinaryFile() function to strip binaries. Messages are
printed in blue.
(+) added a practical executeCommand() function to launch a program and
check its exit code. Messages are printed in blue.
PS: Johnny I've added /usr/include/libgtop-2.0/ as directory include.
I hope now you can compile the code without any fault. :)
<rejected>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gomd-devel] <DAEMON AND SCRIPTS> Lex is out.,
Gian Paolo Ghilardi <=