I am reading the README.html instructions.
It says:
- Extract the contents of the ZIP file onto your hard drive. This can be extracted to anywhere on your hard drive, but this readme will assume it is located at C:\flascc\
- Ensure 64-bit Java is installed (http://www.java.com/getjava)
- Ensure Java is on your PATH (http://www.java.com/en/download/help/path.xml)
- Download the Flex SDK (some of the tutorials require Flex 4.6 or higher in order to be compiled.)
- Download a debugger version of the Flash Player (only needed if you want to use GDB to debug your code)
- Double click the run.bat file
- Check that FlasCC is working by compiling the first tutorial:
- cd 01_HelloWorld
- make FLASCC=/path/to/sdk FLEX=/path/to/flex
- Launch the hello.swf file
I am not sure about step 2. Does 64-bit Java run on a 32-bit Windows 7? Does that mean I cannot use FlasCC? Does it also mean I cannot run applications that use FlasCC?
The rest of the steps are a piece of cake.
I found an answer on the official forums:
I don’t think that you can install 64-bit java on a 32-bit system.
If you use FlasCC with 32 bit java(recommended java is 64-bit) some example will not work due to the memory required. You can try reducing the memory heap allocation by passing –jvmopt=-Xmx1024m to gcc/g++ commands.
HTH,
Gaurav
Credits to Gaurav Jain