I have been having this problem for the last few days and I can\'t get my head around what is really happening here, or what is the problem.
I have a makefile with t
I was facing the same issue. I was trying to build linux application for Cyclone V FPGA-SoC. I faced the problem as below:
Error:uses VFP register arguments, main.o does not
I was using the toolchain arm-linux-gnueabihf-g++ provided by embedded software design tool of altera.
It is solved by exporting:
mfloat-abi=hard to flags, then arm-linux-gnueabihf-g++ compiles without errors. Also include the flags in both CC & LD.