Yahoo Groups archive

Lpc2000

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

Message

Linker Problems

2005-12-19 by miruffer

Hi,

I have big problems with the gcc-linker. Last week I compiled the
newest version of gcc(4.0.2), binutils(2.16.1) and newlib(1.13) under
linux debian. Before I worked with WinARM(gcc 4.0.0).

I tried to compile my project with the new toolchain. No warnings no
errors. But the printf didn't work. To let the printf work via uart1 I
have initialized it and have rewritten some function of the libc:
_write_r and _read_r. Everything works well with WinARM. Now I looked
in the assembler code compiled with the new toolchain and the linker
has used the _write_r from libc and not my new one.

Can I force the linker to use my new one?

thanks, miru

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.