This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: the freebsd stack influence the program"hello world"?
- From: Andrew Lunn <andrew at lunn dot ch>
- To: venice <venice dot tu at live dot com>
- Cc: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 17 Mar 2008 19:24:35 +0100
- Subject: Re: [ECOS] the freebsd stack influence the program"hello world"?
- References: <BLU108-DS2C16EC7C6B79E88FCEAAF9E050@phx.gbl>
On Mon, Mar 17, 2008 at 02:32:59PM +0800, venice wrote:
> Hi, my board is sam7x256ek; I take the redboot off and when I build the
> program "hello world" without any network configuration it gets the right
> result.
> the hello.c :
> #include <stdio.h>
>
> int main(void)
> {
> printf("Hello, eCos world!\n");
> return 0;
> }
>
> But if I joined the three packages "Common ethernet support."
> "FreeBSD Stack." and "Networking." I get the following messages:
>
> arm-elf-gcc
> -I/d/ecos/project/sam7x/system/at91sam7x256_sys_network_01_install/include
> hello.c
> -L/d/ecos/project/sam7x/system/at91sam7x256_sys_network_01_install/lib
> -Ttarget.ld -nostdlib
> /ecos-d/ecos/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld:
> address 0x143f64 of a.out section .text is not within region rom
The FreeBSD network stack is big, too big to fit in 256Kbytes of ROM.
Try the lwip stack.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss