[ale] Determine compiler used

Ed Cashin ecashin at noserose.net
Fri Feb 27 12:57:21 EST 2015


I was waiting for someone else with a better suggestion, but ...

  echo 'import sys; print sys.version' | python

... shows clang on my Mac and gcc on my CentOS system.  It's embedded
in a string, though.

Now I will wait for someone to mention a better way!  :)


On Thu, Feb 26, 2015 at 10:44 PM, Jim Kinney <jkinney at jimkinney.us> wrote:
> For the system python. How?
>
> It's suspected that either GCC or clang was used for python on a Mac Python.
> A custom module needs to be compiled and must use the same compiler as the
> one used to build the installed python. I don't know how to extract that
> detail from a python shell.
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>



-- 
  Ed Cashin <ecashin at noserose.net>


More information about the Ale mailing list