From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Skov To: "Natarajan, Mekala (CTS)" Cc: "'ecos-discuss@sourceware.cygnus.com'" Subject: Re: [ECOS] memory layout Date: Tue, 23 Jan 2001 23:46:00 -0000 Message-id: References: <8F1D166D08ACD41196EE00B0D020944B68B5C2@CTSINENTSXUB> X-SW-Source: 2001-01/msg00392.html >>>>> "Natarajan," == Natarajan, Mekala (CTS) writes: Natarajan,> is there any option in the kernel configuration so that i Natarajan,> can reduce the code size. Yes, many. But if you're looking for this option: CYGBLD_KERNEL_REDUCE_SIZE_TO_HALF we took it out a few releases back. We had complaints from MicroSoft and Wind River about unfair competition. Too bad really. No, seriously, you need to look at your image (use 'tool-prefix-objdump -D image'). What is taking up the space? If it's the application, changing the eCos configuration is not going to help. Of course you can also tweak the kernel, libc, libm, posix, options to reduce size. But that require that you read the option descriptions and decide if it's safe/sensible or not to disable/enable the option. If you need feature X you can obviously not disable it to save space. Jesper