The compiled exec gets a new 30 odd k boost in size.
I've enabled all newbie debugging code ans gcc ( ubuntu 5.5.0 )has me on a leash
Just adding the empty module where doinputloopm is implemented means that my exec goes from 90 of ks to 130 ks
I suspect it, the debugging code.
makefile follows :
CXX=g++-7
CXXFLAGS += -std=c++17 -g -MT $@ -MP -MMD -MF $(@:.o=.d)\
-pedantic-errors -Wall -Wextra
aa: $(patsubst %.cpp,%.o,$(wildcard *.cpp))
$(LINK.cc) $(OUTPUT_OPTION) $^
-include $(patsubst %.cpp,%.d,$(wildcard *.cpp))
I suspect when the program is complete I will be in the multi Mbytes :)
1 2 3 4 5 6 7 8 9
|
int main( void )
{ int sortie = success1d; // note 1
do // Note 2 21-05-2018
{ // sortie = coupactuelGV.doinputloopm(); // en construction
}while( ( sortie != fin3d ) && ( sortie != analysed ) ) ; // 27-06-2018
return sortie;
}
|
The question is "is it normal for a compiled program to jump from being a 90k program all the way up to be a 130k program just for adding an empty module ?"
I hope this makes sense to you.