Xref: news-dnh.mv.net comp.os.msdos.djgpp:3310 Path: news-dnh.mv.net!mv!news.sprintlink.net!news.dpc.net!news.heurikon.com!daffy!uwvax!newssinet!news.nc.u-tokyo.ac.jp!tkyex1.phys.s.u-tokyo.ac.jp!news.tisn.ad.jp!nova.geo.bosai.go.jp!statky2.stanet!news.imnet.ad.jp!usenet.seri.re.kr!news.kreonet.re.kr!news.dacom.co.kr!newsfeed.internetmci.com!news.kei.com!simtel!oleane!in2p3.fr!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.rhrz.uni-bonn.de!news.ruhr-uni-bochum.de!usenet From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: djgpp and GS3.33 Date: 17 Nov 1995 11:42:11 GMT Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 34 Nntp-Posting-Host: bvb.lstm.ruhr-uni-bochum.de To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp I finally made it! It's been a long way, but here it goes: Step one: Edit dcx-gcc.mak. Somewhere at line 35xx there is a buggy macro that deletes the makefile. Search for DVX_GCC and replace it by DVX-GCC. Go to the driver section and replace x11 by vga. Step two: Edit gdevpcfb.h. Change the macro for regen from 0xa000 to 0xd000000 Use #ifdef __GO32__ to keep it portable. This may or may not conflict with the x11 libs, so there may be a better conditional. Step three: Edit the file dos_.h There is a conditional testing for WATCOM-C and MSC. Go to the #else branch (normally TC / BC) and add a conditional for __GO32__ that has the same definitions of MK_FP and PTR_OFF as the ones in the WATCOM branch. Make gs.exe. On my system, I use BC make 3.6. Everything's fine, except the linking stuff. It works with this batch: echo -lpc -lm -lc >>_temp_ gcc -o gs gs.o @_temp_ coff2exe gs del gs. And with -O it is faster than the distributed one: escher.ps takes 2030 ms compared to 2800 ms on my machine. I'll try -O2 ... Ciao and have a nice weekend Tom