lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #50822] tcp_state_str() compiled independently of TCP_


From: Dirk Ziegelmeier
Subject: [lwip-devel] [bug #50822] tcp_state_str() compiled independently of TCP_DEBUG, possibly increasing dead data
Date: Tue, 18 Apr 2017 03:23:06 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #1, bug #50822 (project lwip):

If your compiler is not able to throw away unused functions, you always waste
a lot of memory size in your system. You never use all functions in lwIP's
source files!

GCC: always use

-fdata-sections
-ffunction-sections
for compile

and 
-gc-sections
for linking.

A compiler that does not provide similar functions is NOT suitable to develop
for resource constrained systems.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?50822>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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