> Thanks for the pointers. The 4th step is to get it working with > ncurses and djgpp. Where do I get the 32 bit dos compatible DJGPP > compiler from??? A gem interface is clearly a stage 2 problem.
GCC is available for DJGPP. I recommend getting DJGPP with GCC/G++ and various other packages as a start (see DJGPP home-page) DJGPP is 32-bit only, btw. > Actually, the first thing I probably need to do is get some > comments into the source so I can follow it easier ;-) > > Step 1: Find out how code works in Linux and add comments to it. > > Step 2: Reorganize code if necessary to separate out interface from > other parts. > > Step 3: Port the makefile to freedos. > > Step 4: Start porting the code. > > A quick look at the makefile: > > vpath %.c ../source > > CFLAGS += -g -DLINUX > LDFLAGS += -lcurses -lpthread -g > > drivewire: drivewire.o > > clean: > rm drivewire drivewire.o > > install: drivewire > cp drivewire ~/bin > > I don't understand the vpath line as I've never > encountered that before. The install section will > be replaced by something like: > install: > FDOS_BIN_PATH=C:\FDOS_01\BIN > copy .\drivewire $FDOS_BIN_PATH > > Though I'm open to a more robust solution. > > The clean section will need to be changed to: > clean: > del drivewire > del drivewire.o > > I would like to have gdb under freedos, is there a port of it??? DJGPP has a gdb package available. Again, see the homepage. > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Freedos-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freedos-user > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Freedos-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-user
