[coldfire-gnu-discuss] Sourcery G++ Lite support for m5235evb serial I/F ?

Nathan Sidwell nathan at codesourcery.com
Mon Nov 26 16:42:29 UTC 2007


Mark Mitchell wrote:
> Kazu Hirata wrote:
> 
>> You need to override "write".
>>
>>   ssize_t write(int fd, const void *buf, size_t count);
> 
> Actuall, you should override "_write" rather than "write".  The
> functions intended to be overridden are all prefaced with "_".

This depends on how newlib is configured.  For ARM toolchains, Mark Mitchell is 
correct.  For ColdFire toolchains Kazu is correct.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery




More information about the coldfire-gnu-discuss mailing list