|
On Sun, 15 Oct 2000, Paolo Masetti wrote:
> I've further investigated and you can gain some more bytes
> compiling kernel (and your programs) with -Os option instead
> of -O2 (Makefile.common, COPT define), but we are speaking of
> very few bytes.
>
> Note that legos 0.2.4 was never tested with this option, AFAIK.
Ok, thanks. I'll try everything else first, then try this if I get
desperate. The main thing I hit a wall with was when I switched to
floating-point, which increased my .lx filesize by about 2k, so if I go
back to fixed-point, turn sound off in config.h, and watch my stack sizes
in my execi I'll probably be ok. If I do happen to try -Os, I'll certainly
write back and say how it went.
--
"Say not, 'I have found the truth,' but rather, 'I have found a truth.'
"Say not, 'I have found the path of the soul.' Say rather, 'I have met the
soul walking upon my path.'" -- Khalil Gibran
Mike Ash - <http://www.mikeash.com/>, <mailto:mail@mikeash.com>
|
|
Message has 1 Reply:  | | Re: Memory Usage
|
| (...) Having written a few embedded-systems compilers, I must say that using floating point on an 8-bit chip like the H8 is generally considered crazy. The values eat memory, and the libraries drawn in can get really large (at least for a production (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
 | | Re: Memory Usage
|
| (...) changing (...) place for (...) program for (...) optimized for (...) working for (...) I've further investigated and you can gain some more bytes compiling kernel (and your programs) with -Os option instead of -O2 (Makefile.common, COPT (...) (25 years ago, 15-Oct-00, to lugnet.robotics.rcx.legos)
|
6 Messages in This Thread:           
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|