-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
how to pass linker args through --ldflags #96
Comments
Does You can always pass -x: this will tell you how bflat invokes the linker. Then remove -x and pass -c. This will compile, but not link, leaving you with an object file you can link yourself. |
not for path with spaces. (...turns out to be, when i separate the args with the path and pls note this is in RSP)
output:
seems no way to pass the quotes to lld through bflat, not even with double quotes at both ends of the path, still need certain escaping contract, e.g. also it's weird that lld doesn't support update:
|
i need to pass these args
-r --image-base=0x10000000
to LLD,seems no way to work with --ldflags.
need some escaping brackets to make sure these linker args will not be processed by bflat.
The text was updated successfully, but these errors were encountered: