colstrom / tinypy

A very small Python
Other
1 stars 0 forks source link

Tinypy can't be compiled on OS X 10.5 #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There isn't an 'osx' target for tinypy, and building to the 'linux' target
fails with an error of 'error: unrecognized command line option
"-Wc++-compat"'.  Removing that option if sys.platform is darwin fixes
things, and "python setup.py linux boot" works fine when this is the case.

This patch implements the fix.  It's hackish, but it seems to make things
work on my system.

Original issue reported on code.google.com by var...@gmail.com on 24 May 2008 at 1:10

Attachments:

GoogleCodeExporter commented 9 years ago
Oh, I should also add that I tried looking at the OS X man page for gcc to find 
an
equivalent of -Wc++-compat, but couldn't--perhaps such warnings are enabled by
default?  I dunno.

Original comment by var...@gmail.com on 24 May 2008 at 1:13

GoogleCodeExporter commented 9 years ago
Adding another patch that adds an actual 'osx' target to setup.py, so that 
'setup.py
osx', 'setup.py osx test', etc. work.

Original comment by var...@gmail.com on 25 May 2008 at 2:40

Attachments:

GoogleCodeExporter commented 9 years ago
phil applied this patch in r49, and I verify that it works properly.  I can run 
"python 
setup.py osx" to build on Mac OS X 10.4.

Original comment by dwhall...@gmail.com on 1 Jun 2008 at 4:15