Re: C compiler path of GHC

[email protected] (Eric Schnoebelen) Tue, 23 Apr 2013 10:22:58 -0500
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
"OBATA Akio" writes:
- On Tue, 23 Apr 2013 23:27:21 +0900, Greg Troxel <[email protected]> wrote:
- 
- >
- > Isn't it just a build bug in ghc that it is using an absolute path, and
- > we should configure/patch it to use wrapper path instead?  We already have
- > wrappers for C, I thought.
- 
- Then, result ghc binary will contain C wrapper in ${WRKDIR}.
- It is not expected situation.

Does the ghc binary recognize the ${CC} environment variable?

Could it be patched to do so?

If so, it could happily encode the path to cc(1), but pkgsrc could
override it with a wraper around ghc.

--
Eric Schnoebelen		[email protected]		http://www.cirr.com
    People who sleep like a baby usually don't have one. -- Leo J. Burke

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr