From: "Edmund Horner" Newsgroups: comp.os.msdos.djgpp Subject: DJGPP <--> Linux portability Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400 Organization: Paradise Net Message-ID: <971522982.631595@shelley.paradise.net.nz> Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-96-149-120 DOT tnt1 DOT paradise DOT net DOT nz X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: Sun, 15 Oct 2000 00:30:20 +1300 NNTP-Posting-Host: 203.96.152.26 X-Complaints-To: newsadmin AT xtra DOT co DOT nz X-Trace: news.xtra.co.nz 971522983 203.96.152.26 (Sun, 15 Oct 2000 00:29:43 NZDT) NNTP-Posting-Date: Sun, 15 Oct 2000 00:29:43 NZDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi all. Warning: these questions may appear slightly OT. I have been experimenting in compiling my DJGPP-intended programs using gcc in Linux. Unfortunately I'm having lots of trouble (this is not alleviated by the fact that I'm not Linux-adept). 1. I have a disquieting feeling that doing graphics stuff in Linux is tricky. For example when I try to run the examples that come with the Allegro WIP, I get errors about Mode-X (this only happens for some of the examples). Does a program need to do stuff with permissions in order to change video mode, or something? 2. Backslash-newlines, which i use occassionally for the more complicated #defines, aren't recognised by cpp, apparently because of the CRLF problem. Is there a simple way I can get around this? I'd like to be able to compile the same sources that I edit with RHIDE in dos. 3. Lots of functions I use often in DJGPP, usually in connection with files, simply don't exist in the linux library. (But I can get around this by using more complicated things like fstat().) Still, the question remains... Thanks, Edmund.