Difference between revisions of "Talk:Compiling and getting started"

From WxWiki
Jump to navigation Jump to search
(answer)
Line 5: Line 5:
  
 
:The proper way is to use "make clean". --[[User:VZ|VZ]] ([[User talk:VZ|talk]]) 05:22, 22 September 2018 (MDT)
 
:The proper way is to use "make clean". --[[User:VZ|VZ]] ([[User talk:VZ|talk]]) 05:22, 22 September 2018 (MDT)
 +
:: Then I have a very strange Linux, because its doing something else: after "make clean" my lib files are gone, too (just tried it out). That is not what is intended. rm -rf *.o only removes the unused object files and leaved the binaries in place . --[[User|Tigerbeard]]

Revision as of 06:20, 22 September 2018

g++ `wx-config --cppflags` widgetTest.cpp `wx-config --libs`

cleanup after make

After installation to a local path (configure option --prefix) the directory is filled with *.o files (maybe its the same after running make install). I think it would be useful to add the proper way to clean up those files. I delete them with rm, but I guess there is a better way... --Tigerbeard

The proper way is to use "make clean". --VZ (talk) 05:22, 22 September 2018 (MDT)
Then I have a very strange Linux, because its doing something else: after "make clean" my lib files are gone, too (just tried it out). That is not what is intended. rm -rf *.o only removes the unused object files and leaved the binaries in place . --Tigerbeard