If you compile using trunk fpc I need to use -Cparmv7m

 

-Op is target cpu optimization 

 

And -cp is for choice of instruction set.

 

 

The -Op seems wrong to be used in this case, project options are for
defining the cpu type not if optimizations are needed.

 

 

The two are listed from ppcrossarm.exe -h

 

-Op<x>     Set target cpu for optimizing, see fpc -i for possible values

 

-Cp<x>     Select instruction set, see fpc -i for possible values

 

See what I mean, the -Op doesn't not make sense to be used from here, it
should be -Cp 

 

 

Ideally I want to place a check box to allow the user (me) to change it from
using -Op to -Cp  , both are valid commands coming from using -h on the
compiler.

 

As for the arm based board , I am using a NXP LPC 1343 Risc Processor. 

 

http://www.wvshare.com/product/Open1343-Standard.htm

 

 

that's the board in question

 

Kind Regards

 

 

Justin

 

 

From: Michael Schnell [mailto:mschn...@lumino.de] 
Sent: Wednesday, 16 July 2014 6:43 PM
To: lazarus@lists.lazarus.freepascal.org
Subject: Re: [Lazarus] Compiler Options

 

On 07/15/2014 05:26 AM, Justin Smyyth wrote:

  "Target selected as embedded"

Is there an "official" description what this is supposed to mean ? 

Some years ago "embedded" in the Linux Kernel meant that the CPU does not
feature a Memory management Unit. 

Nowadays, ARM CPUs without MMU seem rather outdated, while a lot of the
newly designed "embedded boxes" (e.g. NAS devices) in fact do uses ARM CPUs
with MMU. 

Hence IMHO the therm "embedded" to select a feature of an ARCH should be
avoided.
A
-Michael

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to