[ECOS] RE: ecos kernel build flag
Gary Thomas
gary@mlbassoc.com
Wed Dec 16 16:43:00 GMT 2009
On 12/16/2009 09:38 AM, Lu Chih Wen wrote:
> Hi
> I have done the ecos-3.0 porting that include bsd-tcpip stack and ftp
> server (http://www.meduna.org/sw_ecosftpserver_en.html).
> But I got the problem on ftp client connection, when I try to set
> optimization flag to -O2 with kernel build the bug was fixed!
> When I trace the code i found FILE IO API “getsockname” always sent wrong
> IP address (0.0.0.0) and this was reason make connection
> fail.
> Is anyone get the same question?
>
>
> cdl_option CYGPKG_KERNEL_CFLAGS_ADD {
> # Flavor: data
> # No user value, uncomment the following line to provide one.
> # user_value -O2
> # value_source default
> # Default value: -O2
What's your target?
What toolchain did you use?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list