[fpc-devel] Embedded Strings on nRF51-DK
Paul Michell
Paul at michellcomputing.co.uk
Sat Apr 18 08:19:52 CEST 2015
On Thursday 16 Apr 2015 19:21:50 Sven Barth wrote:
> Oh, so you're not letting FPC do the linking? If you'd have said that in
> your first mail then I could have told you as well that you need to have
> the system.o included.
Sorry for not being clear about that. This is my first step into the embedded
world and I was trying to stay as close to the documented GCC process
as possible until I understand enough to choose otherwise. I much prefer the
FPC build mechanism to editing makefiles so I would prefer to use that if I
can.
> Alternatively you could also use the option -sh which will generate a
> linker script for the host system and adjust that to your needs (though
> you'd need to do that every time you compile the units).
I didn't know about -sh, that would be very useful in this context!
> This also means that probably AnsiString will also work if you have the
> system.o (though maybe you'll also require a memory manager unit; AFAIK
> embedded needs an extra unit for that).
OK, I'll give that a try as well.
Thanks again,
Paul
More information about the fpc-devel
mailing list