QUOTE(Hyper_Eye @ Jul 21 2010, 11:03 PM)
I am certain that I have built an xbe from openxdk in Linux before. It would have been quite some time ago so my memory is fuzzy but I don't remember having to do much to get it working. I will have to look through my stuff and see what I find. Also, I am pretty sure I have looked at Free-XDK in the past but I never did anything with it. Let us know where it leads you.
As I've explained in post #1, yes, you can build an xbe with openxdk in linux. But it uses a cross-compiler to generate PE and pretty much everything else in Linux is an ELF so you cannot link any external libraries unless you also have the sources to recompile. Personally I find the openxdk way - use gcc to cross compile and convert PE to XBE too convoluted. I prefer plain old gcc, make and the usual binutils stuff.
Free-XDK has zero documentation other than the source code - at least I couldn't find anything. But with the prior experience of hacking Cromwell/Gentoox Loader, at least I can make some sense of the code. More importantly because it uses the standard gnu compiler toolchain, I can link to external libraries. I think the lwip tcp/ip stack in Gentoox Loader (which in turn came from FlashBios) can be easily adapted and added to free-xdk. I intend to retrofit some of the openxdk stuff back to freexdk as well.
However I haven't done any low-level network programming before so I am going easy on this and taking my time. I don't expect any release any time soon - if there's ever any release.
By the way, what are the dependencies in your version of libSDLx? Is it heavily dependent on MS XDK APIs? I'm asking with the view of somehow merging that into freexdk.