atabac / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Apply updates to Windows platform #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tyler Wilson provided a diff for the windows platform via the maillist on 
2010/10/01::

Attached is a small Windows diff against the latest trunk. Changes include:

- Update .bat file and VS solution files to include the latest 
pmGenPmFeatures.py and new -f switch to the pmImgCreator.py execution

- Small tweaks to the README file to match updated solution files

- Changed output from pymite.exe to main.exe to match desktop build, and 
adjusted ipm.py to match.

Original issue reported on code.google.com by dwhall...@gmail.com on 3 Oct 2010 at 1:26

GoogleCodeExporter commented 9 years ago

Original comment by dwhall...@gmail.com on 3 Oct 2010 at 1:31

Attachments:

GoogleCodeExporter commented 9 years ago
r625
- Path failed, applied manually.
- Removed src/platform/windows/plat.obj per email from Tyler on 2010/10/04

Checked in on branch for release 09.

Original comment by dwhall...@gmail.com on 4 Oct 2010 at 2:52

GoogleCodeExporter commented 9 years ago
On 10/21/2010 6:26 PM, Bryan A. Jones wrote:
I just change a result of this change I think is incorrect. Currently, py2c.bat 
contains:

@rem
 @rem Simple batch file to generate the needed .h,.c files
@rem for building with an IDE like VS or Keil
@rem
@rem Assumes python.exe is on the path

@rem build the pmfeatures.h
python ../../tools/pmGenPmFeatures.py pmfeatures.py > pmfeatures.h

@rem build the 'system' libraries
python ../../tools/pmImgCreator.py -f pmfeatures.py -c -s -o 
../../vm/pmstdlib_img.c --native-file=../../vm/pmstdlib_nat.c ../../lib/ipm.py 
../../lib/list.py ../../lib/dict.py ../../lib/__bi.py ../../lib/sys.py 
../../lib/string.py

@rem build the 'local' libraries
python ../../tools/pmImgCreator.py -f pmfeatures.py -c -u -o main_img.c 
--native-file=main_nat.c main.py 

@rem build the pmfeatures.h file
python ../../tools/pmGenPmFeatures.py pmfeatures.py > pmfeatures.h
I don't think we need to build pmfeatures.h twice -- once should do it. I don't 
think order matters, though. Tyler, your thoughts?

Bryan

From Tyler Wilson:

From Tyler Wilson:

Oops. Did not notice that. Yes, one ought to be removed. And order does not 
matter, as far as I recall (the .h is not used anywhere else in this bat file).

Thanks,
Tyler

Original comment by bjones460@gmail.com on 22 Oct 2010 at 7:22

GoogleCodeExporter commented 9 years ago

Original comment by bjones460@gmail.com on 22 Oct 2010 at 7:23

GoogleCodeExporter commented 9 years ago
From re729f0e948:
Update issue #151: mainlined directly
- The duplicated last two lines of py2c.bat were removed. The program builds and
runs.

(Note: putting text after the colon caused Google not to auto-enter this issue 
update.)

Original comment by bjones460@gmail.com on 22 Oct 2010 at 8:46