Re: [FreeDOS-32-dev] Re: Compiling problem
Status: Pre-Alpha
Brought to you by:
salvois
From: Umar Q. <uq...@ec...> - 2004-12-29 03:16:20
|
Hi, On Tue, 28 Dec 2004, Salvo Isaja wrote: > Hi Umar, > what we use to call "native applications" are actually very similar to > drivers, meaning that they are object files that get dynamically linked with > the kernel and can use all features of the kernel and drivers directly. Thus, > you don't need a DJGPP (cross-)compiler and the DJGPP C library to build > them. On the other hand, FD32 can (or at least, aims to) execute regular > 32-bit DOS applications, and you do need DJGPP to compile them. BTW, I > suppose the SIGSEGV you got was due to the execution of a command.exe that > was actually an elf and not an exe. This is the same command.exe that is distributed with fd32 floppy image. I cannot imagine that it executes fine on a different version of the kernel if it is an .elf executable. Has anyone replaced a CVS fd32 kernel (around Dec 24) in the floppy image and seen this crash with bochs?? > On Tuesday 28 December 2004 00:45, Umar Qureshey wrote: > > Isn't an .EXE file necessary for testing the driver's functionality? > > You may want to use a "native application" for it, for example a simple > program calling the services of your driver. IIRC, there are some programs in > "tests" which do like this. I will look into the test/ subdir to see examples. > On the other hand, if you want to use the real hardware instead of Bochs, you > will need a DOS system and DJGPP, so that you are free to manage the hardware > without limitations from the operating system. This is what I did with the > floppy driver. > > Hope this helps, > Salvo Regards & Happy 2005 Umar |