-
Notifications
You must be signed in to change notification settings - Fork 45
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
gcc missing error when cross compile foo_mem-ext [13757] #28
Comments
fixed cross-compile insufficient args error
how to stop nodesize_dbg execution |
I encountered the same issue
You are in 'detached HEAD' state. You can look around, make experimental If you want to create a new branch to retain commits you create, you may git checkout -b HEAD is now at c619113 Whitespace clean up (#70) |
This should work properly now. Pull Request foonathan/memory#129 removed the need to build and run |
I am trying to cross-compile the
foonathan_memory_vendor
but got below error:The C compiler "/usr/bin/cc" is not able to compile a simple test program.
which means
foonathan_memory_vendor
is using the right toolchain, the compiler correctly set whencmake
.cmake foonathan_memory_vendor:
but after
cmake
it gives the GCC error when Icmake --build . --target install
.the error shows target
foo_mem-ext
didn't use the toolchain which I specified infoonathan_memory_vendor
.I find what is the problem:
foonathan_memory_vendor/CMakeLists.txt
Line 68 in 9984a15
extra_cmake_args
only pass-DCMAKE_POSITION_INDEPENDENT_CODE=ON-DCMAKE_BUILD_TYPE=Debug-DCMAKE_TOOLCHAIN_FILE=/home/user1/Qt/5.12.6/Boot2Qt/salvator-x/toolchain/sysroots/x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake
tofoonathan_memory_vendor
.so
cmake_make_program
,cmake_sysroot
,cmake_c_compiler_target
args didn't pass tofoonathan_memory_vendor
gives the GCC compiler error.The text was updated successfully, but these errors were encountered: