Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Problem with newlib-lpc_rel_4

2005-02-21 by aj_erasmus

Hi,

I have a strange problem when using the library newlib-lpc_rel_4. I am
using the gcc downloaded from http://www.gnuarm.org. The problem is
the same whether I compile under cygwin or Linux. When using the makefile
that comes with the package, it builds the examples by directly
linking with all object files. These examples work on my hardware
without any problems. If I build the examples (specifically example
test10) by compiling test10.c and then linking with the library in
stead of directly with the object files used to create the library,
the example does not work. The test10 example sets some I/O pins to
output, and
prints some strings to the serial port using interrupt driven serial
I/O. The code linked to the library, sets up the I/O pins as expected,
but the serial comms does not work. There are no error messages when
linking either directly with the object files or with the library. 
The binary filesize of the output files are  26944 bytes when linking
against the library and 27840 when linking directly with the object
files. Any suggestions on where to look to see what is not being
included when linking with the library ?

Regards
  Anton Erasmus

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.