On Sun, Jun 13, 2010 at 11:41:03PM +0200, Dag-Erling Smørgrav wrote:
> Bernd Walter <ti...@cicely7.cicely.de> writes:
> > Dag-Erling Smørgrav <d...@des.no> writes:
> > > The only way you can tell that gcc did it is if you break the rules,
> > > such as by defining your own version of printf() or puts().
> > Our loader stages do this for good reasons.  And in microcontroller
> > programming (surely out of FreeBSD scope) it is done very regulary.
> 
> Those are freestanding environments, where printf() and puts() don't
> exist as far as the C standard is concerned.

Most controller environments have some kind of libc.
We even have devel/avr-libc and devel/msp430-libc in ports.
Anyway - printf=>puts isn't scarying as such, it is more that this might
happen in other cases as well.

-- 
B.Walter <be...@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to