Re: Problems with C and Math libraries
Pablo Huerta <pablo.huerta <at> alumnos.unican.es>
2003-11-04 11:35:29 GMT
I'm using GNU assembler and linker version 2.11.93. Is this ok or I
should use a newer version?
I want to ask you another question. I have written a simply program to
test if the C and Math libraries are linked OK or not. It's attached as
"test.c". If I compile it with the "-S" flag, to obtain the assembler
file I can't see any call to "cyg_package_start", "cyg_iso_c_start",
etc. But when compiled and linked completely, if I use eCos 1.3.1 the
libc initializing functions are present (cyg_iso_c_start,
cyg_libc_main_thread, etc), but if I use eCos 2.0 there are not
present.Is it normal? Do I have to add something to the source file to
indicate that it must use the C library initialization? In which stage,
or how, does the linker realize that he must include the C library
I hope I'm not boring you with such a lot of questions, but I have been
working on it a long time and I'm a bit desperated
Thanks a lot,
El mar, 04-11-2003 a las 11:57, Andrew Lunn escribió:
> On Tue, Nov 04, 2003 at 11:16:07AM +0100, Pablo Huerta wrote:
> > First of all, thanks for your answer.
> > The target is OpenRISC 1000 architecture.
> > I attach the file export.out with an export with the minimal