This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: info


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]