At 04:31 PM 10/26/04 -0700, you wrote:
>I am trying to setup my dev. environment using gnuarm and newlib3. the
>makefiles in newlib3 makes the entire lib. Is there a sample makefile that
>compiles one or two c files? I tried to create makefile based on the one
>that came with newlib, but the test2 program created using my makefile does
>not work. If I compile the entire newlib using its own makefile, then all
>test programs work fine.
It sounds like you are not actually linking in the newlib-lpc support. One
possibility is that the main newlib library is overriding the newlib-lpc
support.
The first test would be to link the newlib_lpc object files directly with
the test file.
If that works, the most likely problem is that the newlib library dummy
hooks are getting linked in rather than the newlib_lpc routines. In that
case any I/O simply disappears into the moral equivalent of /dev/null. This
has been run into before (I need to update the documentation) and the
thread it was discussed in can be found at
http://groups.yahoo.com/group/lpc2000/message/1714
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, IIIMessage
Re: [lpc2000] makefile
2004-10-27 by Robert Adsett
Attachments
- No local attachments were found for this message.