This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Program too big to fit

We have a embedded software project running on 80C51. We meet tight code size issue to fit in 64KB. We wants to use optimize option in C compiler. But when we add ot(6,size) in makefile, the DOS promopt us some source code is :Program too big to fit. So we can not use it now.

The Keil C51 is V7.02, runing in Windows XP SP2, DOS prompt memory deepth is 32KB.

Does anyone knows about this?

  • You're using the command-line tools in a custom makefile, right?

    In that case, you need to post full details of what you're doing!

    Post the full text of the message you receive - use copy & paste; do not manually re-type it into the post!