Skip to content
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

Lack of support of link arguments in C and C++ languages #8

Closed
kcleung opened this issue Nov 17, 2016 · 0 comments
Closed

Lack of support of link arguments in C and C++ languages #8

kcleung opened this issue Nov 17, 2016 · 0 comments

Comments

@kcleung
Copy link
Contributor

kcleung commented Nov 17, 2016

In C and C++ programs that requires external libraries, the link arguments must be inserted after the output file argument, e.g.:

g++ -g -W -Wall foo.cpp -o foo -lGl -Glu

or otherwise the linker will not be able to load the requested libraries, yet the current jobe version only supports "compileargs".

To fix this problem, I have added the parameter "linkargs" in run_spec to allow specification of link arguments. The fix is in:
https://github.com/UoA-CompSci/jobe

and I have already submitted a pull request. Please have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants