This is the mail archive of the newlib@sourceware.org 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: FW: wrong code generation in newlib 1.1.14 PPC ?!


Just for understanding, do you mean to say that the compiler is generating two different codes for a same function, one present in newlib and the other is the one you've written? This is strange !! One thing that I might consider looking at is optimization switch used to compile both the versions. Is everything (being used for compilation) the same at command-line?

Sriharsha.

Frank Juergen-r58616 wrote:


Hi !!


I generate my own version of gcc and newlib for the PowerPC.

If I compile and link my program it looks good, but if I execute the code it crashes !! Ok I debug and find out that the compiler generate wrong opcodes but I compile and create everything with the same cpu option ( mcpu=603e ). So what kind of problem is this ... has anyone else similar effects ?

I see this problem only in the newlib functions not in my own program code ?!

thank you for your help




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