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

Using the CXX environment variable to choose a compiler #212

Closed
veripoolbot opened this issue Jan 22, 2010 · 1 comment
Closed

Using the CXX environment variable to choose a compiler #212

veripoolbot opened this issue Jan 22, 2010 · 1 comment

Comments

@veripoolbot
Copy link
Contributor

@veripoolbot veripoolbot commented Jan 22, 2010


Author Name: Byron Bradley (@bbradley)
Original Redmine Issue: 212 from https://www.veripool.org
Original Date: 2010-01-22
Original Assignee: Wilson Snyder (@wsnyder)


According to ./configure --help, the CXX environment variable will choose the C++ compiler. It doesn't work for me. configure.ac contains:

 17 dnl Compiler flags
 18 CXX=g++
 19 CFLAGS=-I${includedir}

If I remove line 18 it will use the value of CXX if set and default to g++ if not. However I'm not sure how this will affect builds on other systems (this is CentOS 5.3, autoconf 2.59).

@veripoolbot
Copy link
Contributor Author

@veripoolbot veripoolbot commented Jan 22, 2010


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2010-01-22T12:34:32Z


Seems ok, the AC_PROG_CXX following should default to trying that anyhow. Fixed in git.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.