This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Problems with C and Math libraries
- From: Pablo Huerta <pablo dot huerta at alumnos dot unican dot es>
- To: ecos-devel at sources dot redhat dot com
- Date: 04 Nov 2003 10:43:21 +0100
- Subject: Problems with C and Math libraries
Hi,
I'm working in a port to a new target, and I'm having troubles with the
C and Math libraries. The problem is the following:
When compiling tests for these libraries, the "cyg_libc_main_thread"
constructor and all related stuff to it are not linked, and when running
the tests they loop around all the time at "hal_idle_thread".
I have two questions about it:
Does anyone have any idea about why I'm having this trouble with the
inizialization of this tests?
Is there any way to force eCos to use the standard inizialization for
programs using C and Math libraries (that is, booting from "main"
instead of using "cyg_iso_c_start")?
Thanks to all. I would very pleased if anyone can help me.
Pablo Huerta
P.D: I'm using eCos 2.0, and gcc 3.3.1. I'm also tried with GCC 2.95,
3.1 and 3.4.