Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Subject: Re: [coldfire-gnu-discuss] Sourcery G++ Lite support for m5235evb serial I/F ?
  • From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
  • Date: Mon, 26 Nov 2007 16:42:29 +0000

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