Go Back   Zune Boards > Zune Discussions > Zune Games and Applications > Development Discussions

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
Thread Tools
Old 09-21-2011, 04:38 AM   #1
GregorR
Zewbie
 
Join Date: Sep 2011
Posts: 6
GregorR is on a distinguished road
Default OpenZDK with GCC (on Linux!)

Let the flamewar begin!

Using Mingw32CE (see http://cegcc.sourceforge.net/ ), it is not particularly difficult to compile OpenZDK applications with GCC, on Linux. It would probably be equally possible to do so on Windows, but I've made no such attempt.

Attached is an installer. To use it:
  1. Download and extract the OpenZDK starter kit
  2. Find the MSI for the OpenZDK SDK (should be in zune_hd/openzdk-hd-...msi). This could probably work with Zune SD, but again, I haven't tried.
  3. Extract the MSI using 7z: 7z x <openzdk>.msi
  4. Some 7z's will extract the metadata, others will extract the SDK directly (not sure why). If the above command created a bunch of files with names starting with an underscore, ignore this step. Otherwise, extract sdkfiles.cab: 7z x sdkfiles.cab
  5. Download opensdk-install.zip (attached to this post) and extract the .sh file from it: unzip opensdk-install.zip
  6. Run it! bash openzdk-install.sh

By default this installs to Mingw32CE's default prefix, /opt/mingw32ce. If you want it elsewhere, you can change that in openzdk-install.sh . To compile OpenZDK apps, just link them against zdksystem or zdknet as necessary (-lzdksystem, -lzdknet).

Why did I do this? Because I wanted to make a change to Liberate (which I will post momentarily), and didn't want to use MSVC
Attached Files
File Type: zip openzdk-install.zip (1.2 KB, 29 views)




GregorR is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 09-26-2011, 01:33 PM   #2
zunehdman
Zuner
 
zunehdman's Avatar
 
Join Date: Jan 2011
Location: in my own land.
Posts: 83
zunehdman has a little shameless behaviour in the past
Send a message via MSN to zunehdman
Default

Hey nice work I am planing on getting joli os on a PC someday.





zunehdman is offline   Reply With Quote
Old 12-23-2011, 11:04 PM   #3
MisterCrazy8
Squirt
 
Join Date: Feb 2011
Posts: 18
MisterCrazy8 is on a distinguished road
Default um...

Quote:
Originally Posted by zunehdman View Post
Hey nice work I am planing on getting joli os on a PC someday.

UM... What does that have to do with anything whatsoever. JoliCloud may be based on linux but that's like saying that my toaster which has a digital thermostat is a computer. While technically true it is irrelevant and adds nothing to the discussion. If you really want to learn about linux why don't you download a distro. I recommend ubuntu. I actually hate ubuntu, however it is designed with idiots the general public in mind, so anyone can use it. I personally prefer openSUSE. I know people will disagree with me on this one.



Why exactly did you do this on a linux machine? By my understanding of your post it was a "just 'cause I can" kinda thing.

Last edited by MisterCrazy8; 12-23-2011 at 11:06 PM.



MisterCrazy8 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
no new posts