From: Luca A. <luc...@em...> - 2003-03-20 09:00:01
|
Hi Carsten, > I tried to build the examples on win32: > > The libs have been well. Everything can be found in > "lib", but with the examples I have some problems... > > I am compiling and linking with the win32-gcc MingW32. The problem is that mingw32 is currently not supported. We support the linux gcc (producing ELF files) and DJGPP (producing multiboot coff files). You probably copied dos.mk in config.mk, so the build system is configured to use DJGPP, and is trying to generate a coff file, that is not supported by the mingw32 linker. Simple solution: install DJGPP (it works under windows, too) from http://www.delorie.com. More complex solution: generate a config.mk file that can be used with mingw32. Obviously, you have to change the -oformat coff-go32 option, and probably you have to change the os.x linker script. I remember that I was able to compile the examples with cygwin ont time, and that there was some weird problem related to the main and start symbols (the windows compiler uses different names, if I remember well). I'll try to have a look at the problem, and to generate a win.mk file in the next days. Luca |