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
Assignees
Labels
area: configure/compiling Issue involves configuring or compilating Verilator itself resolution: fixed Closed; fixed

Comments

@veripoolbot
Copy link
Contributor


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


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.

@veripoolbot veripoolbot added area: configure/compiling Issue involves configuring or compilating Verilator itself resolution: fixed Closed; fixed labels Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: configure/compiling Issue involves configuring or compilating Verilator itself resolution: fixed Closed; fixed
Projects
None yet
Development

No branches or pull requests

2 participants