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: PIC24/PIC30 port iprintf() name


tisdagen den 3 februari 2009 skrev Leo Singer:
> Dear Karolina,
>
> It appears that I do have the "iprintf" symbol, but my linker insists
> otherwise.  Do you know what is happening?  See below.
>
> Leo

I found it out. pic30-gcc and newlib have different ideas about the names.
newlib calls it iprintf(), while pic30-gcc calls it _iprintf().
newlib have fiprintf(), while pic30-gcc wants _ifprintf()
and so on for all the other integer versions of the routines.

So either the routines have different names on windows and linux, for the pic, 
or they have different names in newlib for the pic30, and other newlibs.
confusing.

I made another patch for pic30-gcc, to make it behave the newlib way.

Karolina


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