1. euc / eubind questions
- Posted by axtens_bruce in March
- 495 views
Does euc strip out unused code the way eubind does?
Can eubind produce a stripped source output that could then be used for euc (in the event that euc doesn't strip unused code)?
-Bruce
LATER
euc doesn't strip unused code. If -keep is specified when running euc, the build folder is full of .c files that fully translate the .e files directly or indirectly referenced in the project.
2. Re: euc / eubind questions
- Posted by ghaberek (admin) in March
- 467 views
Does euc strip out unused code the way eubind does?
Can eubind produce a stripped source output that could then be used for euc (in the event that euc doesn't strip unused code)?
-Bruce
LATER
euc doesn't strip unused code. If -keep is specified when running euc, the build folder is full of .c files that fully translate the .e files directly or indirectly referenced in the project.
AFAIK the translator translates your entire program. But GCC itself may perform some "dead code removal" as part of its optimizations.
If you're trying to reduce executable size, GCC comes with a program called strip that will remove the extra "stuff" within the executable.
strip -s myapp.exe
-Greg
3. Re: euc / eubind questions
- Posted by axtens_bruce in March
- 440 views
If you're trying to reduce executable size, GCC comes with a program called strip that will remove the extra "stuff" within the executable.
Thank you!