On Mon, Sep 10, 2018 at 6:46 AM Alan Beard <bear...@unixservice.com.au>
wrote:

> *Hi all,*
>
> *I'm trying to build the stm32 code on my Pi running Fedora 29.*
>
> *I get the following with "cmake ../../stm32" trying to get a working C
> compiler:*
>
>
> * /usr/bin/arm-none-eabi-gcc  -Wall -std=gnu11 -mlittle-endian -mthumb
> -mthumb-interwork -nostartfiles -mcpu=cortex-m4 -fsingle-precision-constant
> -Wdouble-promotion -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__FPU_PRESENT=1
> -D__FPU_USED=1     -rdynamic CMakeFiles/cmTC_da013.dir/testCCompiler.c.o
>  -o cmTC_da013 arm-none-eabi-gcc: error: unrecognized command line option
> '-rdynamic' *
> *I cannot find where option "-rdynamic" is added.*
>

No, I'm working on the cmake code. I have one more problem that seems to be
Ubuntu specific, but one thing I had to do was use the formal
cross-compiling option. I had tried just including the cross-compiler
settings and it worked fine on Fedora but according to one of the CMake
developers you have to use the cross-compiler option in order to set it up
correctly so until I update the documentation...

Form build directory:

$ cmake -DCMAKE_TOOLCHAIN_FILE=<path to stm32/cmake/STM32_Toolchain.cmake>
<path to stm32 dir>

Thanks,
Richard
KF5OIM
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to