We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
xmake: v2.3.3+202005231421 os: ubuntu 20.04, wsl gcc: 9.3.0 xmake.lua:
target("test") set_kind("binary") add_files("test.cpp") set_strip("debug")
After calling xmake, there's no executable 'test' in the output directory. If set_strip changed to "all", the target file can be generated.
The output of "xmake -v":
configure { arch = x86_64 ccache = true mode = debug ndk_stdcxx = true host = linux ld = /usr/bin/g++ kind = static buildir = build cxx = /usr/bin/gcc plat = linux } [ 75%]: linking.debug test /usr/bin/g++ -o build/linux/x86_64/debug/test build/.objs/test/linux/x86_64/debug/./test.cpp.o -S -m64 -L/usr/local/lib -L/usr/lib [100%]: build ok!
I noticed that there's a '-S' option in the command line of g++, accroding to http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options:
-c -S -E If any of these options is used, then the linker is not run, and object file names should not be used as arguments.
Is that option caused this issue?
About the feature of stripping the target file. I need to preserve some symbols instead of stripping all of them, is that possible?
thanks
The text was updated successfully, but these errors were encountered:
I have fixed it, you can run xmake update dev and try it again.
xmake update dev
Sorry, something went wrong.
No branches or pull requests
xmake: v2.3.3+202005231421
os: ubuntu 20.04, wsl
gcc: 9.3.0
xmake.lua:
After calling xmake, there's no executable 'test' in the output directory. If set_strip changed to "all", the target file can be generated.
The output of "xmake -v":
I noticed that there's a '-S' option in the command line of g++, accroding to http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options:
Is that option caused this issue?
About the feature of stripping the target file. I need to preserve some symbols instead of stripping all of them, is that possible?
thanks
The text was updated successfully, but these errors were encountered: