|
|
|
|
|
Re: Compiling forte with xilinx toolchain failed [message #1828126 is a reply to message #1828124] |
Tue, 02 June 2020 07:49 |
|
the interesting information would be in:
See also "D:/1600/forte-incubation_1.12.0/bin12/CMakeFiles/CMakeOutput.log".
See also "D:/1600/forte-incubation_1.12.0/bin12/CMakeFiles/CMakeError.log".
but i also see a few things that you could consider:
1. I don't think that E:\M1600\Codesourcery\bin is the right directory as target root. In my setups the bin was never the correct one
2. if it is a very special platform you may need a target configuration cmake file with additional compiler and linker flags
3. since quite some time we recommend that the build directory should not be within the forte code that you downloaded. This makes it easier for you to seperate your developments from the offical forte code.
|
|
|
|
|
Re: Compiling forte with xilinx toolchain failed [message #1828135 is a reply to message #1828129] |
Tue, 02 June 2020 09:15 |
|
joy woo wrote on Tue, 02 June 2020 08:18
both
E:\M1600\Codesourcery\bin and E:/M1600/Codesourcery/arm-xilinx-linux-gnueabi/bin
didn't work, they had the same error in CMakeError.log
for me it is never a bin directory. for any linaro toolchain always the toolchain root file seems to work best.
joy woo wrote on Tue, 02 June 2020 08:18
Compiler: E:/M1600/Codesourcery/arm-xilinx-linux-gnueabi/bin/gcc
Build flags:
Id flags:
The output was:
%1 is not a valid Win32 application
i downloaded two different versions of xilinx toolchian, but none of them worked.
I think there are some cross compilation settings missing. Cmake is trying to check if the application generated works for your host OS. There are some options that can tweak that. Please search for cross compilation and CMake to check for them.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03743 seconds