-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select the suitable ARM compiler of de10-nano board for dcurl + libtuv #150
Comments
Using For modifying the |
It sounds workable. |
To @ajblane |
There is an error:
|
@ajblane , I can not get the full command you used. |
I specify the |
Success by using $ make BUILD_REMOTE=1 BUILD_BOARD=de10nano BUILD_FPGA_ACCEL=1
|
The compiler of the board DE10-nano on arm-linux environment is different from the default compiler assigned by libtuv. The commit fix the problem and allow libtuv to detect and use the suitable compiler. Close DLTcollab#150.
The structure of
de10-nano
board would be recognized bydcurl
orlibtuv
as arm-linux.The default arm-linux compiler of building
libtuv
isarm-linux-gnueabihf-gcc
.However, the
de10-nano
environment set up by @ajblane only contains the compiler ofarm-linux-gnueabi-gcc
.To build
libtuv
successfully onde10-nano
board, the current workaround includes:arm-linux-gnueabihf-gcc
toarm-linux-gnueabi-gcc
.-mfloat-abi=hard
since we do not have the header filegnu/stubs-hard.h
and we use the compiler without hf(hard floating point).In my opinion, the hardware floating point calculation is not really necessary in
dcurl
+libtuv
.There are two possible ways to make
dcurl
+libtuv
work onde10-nano
board:de10-nano
should contain the compilerarm-linux-gnueabihf-gcc
and the corresponding header files.libtuv
compiler and flags as mentioned before.The text was updated successfully, but these errors were encountered: