I’m not sure if it’s proper to ask the question here since I’m not an embedded SW guy.
I’m using the PYNQ on ZCU-104. In our application, we need to compile the C/C++ code on PYNQ. Previously, we used PYNQ-Z1 which equips with dual-core Cortex-A9 processor. In the .bashrc, we used the following setting for compile flags.
export CXXFLAGS="$CXXFLAGS -fdiagnostics-color -Wno-psabi -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb -fPIC"
export CFLAGS="$CFLAGS -fdiagnostics-color -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb -fPIC"
However, we change the platform to PYNQ plus Xilinx Zynq UltraScale+ MPSoC ZCU104 with quad-core ARM Cortex-A53 applications processor. For the setting of compile flags in .bashcr, should I make any changes?
I did some check and it seems the -mfloat-abi=hard, -mfpu=vfpv3-d16 -mthumb are no longer supported by aarch64 now. Thus, would you share your experience in the setting of compiler options to use on PYNQ over ZCU-104? The bottom line is to remove all these options first.