Hardware FPU library cannot be found

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hardware FPU library cannot be found

    Hi ,

    I know the following libraries are :

    1. libosT7VLDP - compiled as -mfloat-abi = softfp .
    2. libosT7LDP.a - compiles as -mfloat-abi = soft .

    But i could not find a library that compiled as -mfloat-abi = hard , does it even exists ? can i work with embOS like that ? , because if i try working with the library when i compile my program as -mfloat-abi = hard , i get the vfp linkage error.

    Any suggestions ?

    Best regards,
    Michael
  • Hello Michael,

    the embOS FPU libraries are built with the GCC option -mfloat-abi=softfp.
    ‘softfp’ allows the generation of code using hardware floating-point instructions, but still uses the soft-float calling conventions.

    Please use the same option in your project, you can't use 'hard' with embOS FPU libraries.

    Best regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.