1. euc / eubind questions

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.

new topic     » topic index » view message » categorize

2. Re: euc / eubind questions

axtens_bruce said...

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: euc / eubind questions

ghaberek said...

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!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu