[ECOS] fed up with div_t

Jonathan Larmour jifl@eCosCentric.com
Fri Jul 18 12:56:00 GMT 2003


Matthieu.GIRARDIN@fr.thalesgroup.com wrote:
> 
> My compilation line is :
> gcc -g -I/opt/ecos/ecos-work/final_linux_install/include/
> -L/opt/ecos/ecos-work/final_linux_install/lib/ -Ttarget.ld -nostdlib -DECOS
> -DECOS_MALLOC -DECOS_TRACE *.c -o appli_test.exe
> 
> What's my problem ?

Nothing visible from there.

> In order to continue on my previous problem : you can see a search :	
> 
> 
>>>> [root@p00012049 root]# find /opt/ecos/ -name "*.h" -exec grep div_t {}
> 
> \; -print
> 
>>>> } div_t;
>>>> } ldiv_t;
>>>> extern div_t
>>>> extern ldiv_t
[snip]
>>>> [root@p00012049 root]# 

What you've shown just there doesn't mean div_t is definitely in the 
sources. eCos is configurable and various code can be removed, so perhaps 
something is wrong. What is the value in your configuration of 
CYGINT_ISO_DIV and CYGBLD_ISO_STDLIB_DIV_HEADER. If you look at 
packages/isoinfra/v2_0b1/include/stdlib.h in the source tree you'll see 
why you should find those out!

Jifl

-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list