After a few days of working and thinking, I guess that the missing of
libtool (ltdl.h) and pthread (in later steps of the configure) causes
the errors.

Furthermore, I guess both the libtool and the pthread have been built
in cegcc. But i can not find them :(

>>>When I check the config.log, I find the following failed command lines:

arm-cegcc-gcc -o conftest.exe -g -O2 -I/opt/cegcc/arm-cegcc/include
-L/opt/cegcc/arm-cegcc/lib conftest.c -lpthread

arm-cegcc-gcc -o conftest.exe -g -O2 -I/opt/cegcc/arm-cegcc/include
-L/opt/cegcc/arm-cegcc/lib conftest.c -ldl

In the file conftest.c, the main function calls functions pthread_self
(provided by libpthread and introduced by the instruction -lpthread)
and dl_open (provided by libdl and introduced by the instruction
-ldl).

>>>When I build the libtool and configure with the following options
CPPFLAGS=-I/opt/libtool/include LDFLAGS=-L/opt/libtool/lib,
the ltdl.h and the lib can be found. (I think it will cause a runtime
error when functions in the lib dl are invoked to load DLL files)

But the configure complains that there's no pthread in later steps.

I guess cegcc has built both the dl lib and pthread libraries, since
both ltdl.h and pthread.h can be found in its source directories. But
the generated libraries are entitled other file names than the libdl.a
and libpthread.a.

>>>My question is where has the cegcc hidden those core functions (pthread, dll 
>>>and so on)?

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to