delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/12/11:20:42

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE, C++ and Inline Assembler
Date: Fri, 11 Jul 1997 13:09:43 -0400
Organization: Cornell University
Lines: 32
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33C668D7.4B92@cornell.edu>
References: <5q5mrk$rvq$1 AT excalibur DOT flash DOT net>
NNTP-Posting-Host: 128
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Joshua Eckstein wrote:
> 
> I am new to DJGPP, so please forgive me. I am using RHIDE 1.3, and I 
> have two questions.
> 
> 1) How do you do inline assembler? I'm used to doing it the way I had 
> it in MSVC++, just typing the __asm and then the instructions.

read the FAQ.
> 
> 2) Every time I compile, I seem to use gcc (which, as far as I know, 
> is the C compiler) even though my files have the ".cpp" extension. Is 
> there a way to force it to use the c++ compiler, or is it better to 
> let it use the C compiler, i.e., is it as fast as the c++ one? Or is 
> gcc the c++ compiler?

do you realize you are making absolutely NO sense at all. how could a C
compiler compile C++ code? read the docs by typing

info gcc <Enter>

and README.1ST.

> (I don't know!) And what about 32-bit protected mode? Is this by 
> default? What command line options do you use to make it "go fast" in 
> 32-bit mode? I am really new to DJGPP (used to work in MSVC++ 1.52), 
> so please forgive my ignorance.

READ README.1ST and the FAQ.
  
i am only e-mailing this to you because you asked for it. do NOT respond
to me via e-mail.

- Raw text -


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