As interesting is that it will assemble thumb2 code as arm code and not fail/stop during that step in the build.

Thanks for the help, will try that.

David


On 08/21/2011 05:23 AM, Jeppe Græsdal Johansen wrote:
Den 21-08-2011 00:00, David Welch skrev:
Ahhhh! that makes sense. I assume that is either leftover from a prior
build? And how do I get a new/fresh build to look in the right place?
It's installed in /fpcarm. This directory should contain a bin and units
directory. You simply need to change your main fpc.cfg file to match
those settings. I don't know precisely how that would be done on a unix
system.

Maybe it would even install directly to your current install directory,
if you just run this?
make buildbase OS_TARGET=embedded CPU_TARGET=arm CROSSOPT="-Cpcortexm3"
CROSSINSTALL=1
sudo make installbase OS_TARGET=embedded CPU_TARGET=arm
CROSSOPT="-Cpcortexm3" CROSSINSTALL=1

On a side note, I find it strange that it even accepts your old leftover
files. I thought the linker normally would complain about interwork stuff
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to