Hi! > I can't use a batch file in my Linux environment. Therefore, I have to > write some script to compile it. I will look closer at the batch file > and see about the XCPU setting.
>>> [EMAIL PROTECTED]:~/projects/dos_stuff/freedos_src/blah/kernel$ nasm >>> asmsupt.asm >>> segs.inc:34: error: symbol `XCPU' not defined before use Please have a look at the build.bat and config.b files. Basically you edit config.b, rename to config.bat, and then build.bat invokes it to set some env variables... It should be quite feasible to translate the mechanism to Bash :-). I think some of the work is also done by standard Makefile files, so after setting the environ- ment variables in your Linux shell, you can re-use at least some of the batch files. Please use the following: - SVN snapshot of FreeDOS 2038 stable kernel or similar - NASM - OpenWatcom C - UPX (for example 2.x) I think having a set of scripts for crosscompiling from Linux would be useful, so once you got it working, it would be nice if you could publish the scripts so that others can use them as well :-). Eric PS: You can try to contact Jeremy Davis (can be hard!?) as I believe his (now very outdated!) fdos.org page also had automated FreeDOS kernel builds made on a Linux server?? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel