As I mentioned in another thread, I'm trying to get Frotz (and some of my other favorite apps) working in OZ. I don't have a linux box, so I have to cross-compile from a Cygwin environment on Windows. I haven't done this before, so I'm trying to get to a state where I know everything's set up right and works properly, then figure out what I need to do to get the new apps working.
I'm sure there's someone out there who could easily compile this for me, but I'm using this as a learning experience as much as anything else. I want some fishing lessons, so to speak.
So far, I've followed the instructions here:
http://takahr.dhis.portside.net/cgi-bin/rw...+on+Cygwin%3AenBefore I try to compile something that doesn't necessarily work, I want to compile something that should already work. This way I can verify that my setup is correct. So I got source for a random app from the software index. I chose "zuc", a unit converter. (for those playing along at home:
http://prdownloads.sourceforge.net/zuc/zuc-1.1.tar.gz)Here's where I'm stuck. I ran the environment setup script from the cross-compile page. I did a 'make' from the zuc directory, and it gave a few warnings, but seemed to work. I'm left with a 'zuc' file, among other compilation results. I put the binary on the Z and tried running it from the shell. I get this error:
./zuc: symbol lookup error: ./zuc: undefined symbol: _7QString.shared_null
So I must have missed something. I'm thinking:
* There's some other library that I need to install on the Z
* There's a support file that I need to copy along with just 'zuc'
* Some of those compile warnings were serious enough to break the app
* Something isn't set up right in my build environment
Could someone give me a push in the right direction?
Incidentally, I think a HOWTO on cross-compiling would be of great help. Especially if it used an existing app and walked through step-by-step how to set up the environment, build, and package it. I'd be happy to write something like this, once I get to that point...