[plt-scheme] hardcoded gcc in compile-unit.ss

From: Sven.Hartrumpf at fernuni-hagen.de (Sven.Hartrumpf at fernuni-hagen.de)
Date: Fri Aug 6 04:20:48 EDT 2004

Hi all.

There are places where "gcc" is called instead of the C compiler
configure'd by PLT (for example, by looking at the enviroment variable CC).
One such place is collects/dynext/compile-unit.ss
(function: get-unix-compiler).

Adding the following in ~/.bashrc helped me:

export MZSCHEME_DYNEXT_COMPILER=gcc341

or:

export MZSCHEME_DYNEXT_COMPILER=$CC

Could this be simplified somewhat? Maybe by checking CC directly
after checking MZSCHEME_DYNEXT_COMPILER?

Are there any other files that have hardcoded "gcc"?

To isolate such problems, one might consider uninstalling (/usr/bin/)gcc if
it is different from the one you use for building PLT.

Ciao
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20040806/ed7c4d46/attachment.sig>

Posted on the users mailing list.