This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: info
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: krishna dot kn at ap dot sony dot com
- Cc: newlib at sources dot redhat dot com
- Date: Fri, 24 May 2002 19:57:13 -0400
- Subject: Re: info
- Organization: Red Hat Inc.
- References: <NFBBLCPMCLHEJGHKEAIEEEOGCBAA.krishna.kn@ap.sony.com>
Krishna murthy wrote:
>
> Hi,
> I want to port newlib ( libc and libm) to my operating system.
> I have written the make files to compile the libc and libm and I am using
> gcc cross compiler for compilation of my OS and newlib.
>
> I am able compile and link the Newlib.a to my OS.
> But at run time it is giving exception in initialization of constructors
> i.e ___ctors.
>
> I would appreciate any help on this.
>
> Regards,
> krishna
You'll have to provide a few more details regarding your system. Do you have
source for the ctor/dtor initialization in question? If you look at the libgloss/mn10300 directory, you will see an example of an example crt1.c
file. I would also need to see your
linkage script (issue xxx-ld --verbose) and perhaps the level of gcc you are using
(xxx-gcc -v).
-- Jeff J.