Steps for porting Newlib to a new Target processor without any OS
Jon Beniston
jon@beniston.com
Wed Jan 4 13:59:00 GMT 2006
> 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
More information about the Newlib
mailing list