Re: euc / eubind questions

new topic     » goto parent     » topic index » view thread      » older message » newer message
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 thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu