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: Steps for porting Newlib to a new Target processor without any OS


 
> 1. Our processor does'nt yet have an OS, so no system calls 
> are available.

No probs, just port libgloss.

> 4. I also want some standard functions like printf use 
> specific hardware (like serial port) for I/O. Where and how 
> do I change this?

Libgloss. Implement _read and _write system calls to write to your UART.

> 5. Last but not the least, I tried adding my processor name 
> to configure.host in newlib1.13.0/newlib/ directory, but it 
> is not recognizing my processor.

Try hacking config.sub and configure.in in the root directory as well.

Cheers,
Jon



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