delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/27/23:46:44

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGGP to Linux / MSVC
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <57ivdsc2qi0hb9kidbr8vu905hlf5416rl@4ax.com>
References: <8bj3lp$4gq$1 AT uranium DOT btinternet DOT com> <s48tdso68rsi4eb7kb3gsgb6a7tgtn56va AT 4ax DOT com> <8bl898$su9$1 AT plutonium DOT btinternet DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 75
X-Trace: +SCKgJlRzct9poxo/4tb1KdHufYo4f7Zy+osGsyGSbNi1VO5DjyH0db4V+WILLE3olQF7TxrR3qZ!sZqCbzYPJON1Vf0zx/gfIqmdfoBUjy2lfy0ix+H3zeRNGlig+cKuXx0d13bIrvGrapJfaxO0Z8pt!Hif8moY=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Mon, 27 Mar 2000 21:31:11 GMT
Distribution: world
Date: Mon, 27 Mar 2000 21:31:11 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 26 Mar 2000 15:55:19 +0100, "David Green"
<Dcgreen AT btinternet DOT com> wrote:

>Well, the main reason for the switch, which i prolly should have
>mentioned in the initial post is that i'm having SERIOUS trauma
>accessing SVGA and sound hardware well enough when running under NT.

That's because NT's VDM (virtual dos machine) and HAL (hardware
abstraction layer) don't allow such access from a DOS application.
NT is a workstation and server operating system (IMHO a pretty
crappy one); W98 is a game console.

>Unfortunately, although i've been developing on win98, i must
>demonstrate this at college

At any good college, they should have some Linux boxen.
Allegro runs very well on Linux + X and OK on most UNIX flavors.

>So this left me a choice, since i'd ideally like to carry on using
>allegro and re-use as much, if not all of my code. Windoze or Linux...

Linux.

>i'm just trying to ascertain which will involve
>the least amount of hassle.

GNU/Linux: fewer reboots and cooler themes.

>my preference, since my degree depends on this being a good decision

Linus Torvalds has a degree IIRC.  Bill Gates doesn't.

>is to go with linux, and not let micro$oft
>have _any_ bearing on the outcome of my degree !!

Right.

>I don't think there's any platform specific stuff... I've let allegro handle
>all that (keyboard / mouse interrupt stuff), so i'm hoping since allegro is
>portable, my code should be, to some extent, also.

Yup.  As long as you don't #include <dos.h> or something else platform
specific, you probably won't have a lot of problem.

>Now as to using GCC specific features not available in MSVC, i'm
>_really_ unsure... I remember the last time i battled with MSVC there
>were lots of subtle language differences which kept tripping me up,

Mostly an anal-retentive "all warnings" option that tripped up on

  short x;
  long  y;

  y = 3;
  x = y; // "warning: potential loss of significant digits"

>but i can't for the life of me remember what the differences
>are between msvc's interpretation and gcc's...

You don't have to worry.  There's MinGW, a GCC for Win32:
  http://www.mingw.org/
And you don't have to worry if you write ANSI + Allegro like I do.

>just wanted to canvas opinion and make sure there were no
>horrible pitfalls waiting for me round the next corner!!

http://www.talula.demon.co.uk/allegro/

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019