delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/13/16:40:42

From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: inefficiency of GCC output code & -O problem
Date: Thu, 13 Apr 2000 22:35:39 +0400
Organization: MTU-Intel ISP
Lines: 76
Message-ID: <38F6137B.47481761@mtu-net.ru>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000413112851 DOT 28180G-100000 AT is>
NNTP-Posting-Host: ppp103-131.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 955656364 66507 212.188.103.131 (13 Apr 2000 20:06:04 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 13 Apr 2000 20:06:04 GMT
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en,ru
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I didn't want to insult someone. If Hans-Bernard is taken displeasure (sorry for
my English, it might be a bit wrong), I beg his pardon. 

Furthermore, I beg pardon of all the people.

But I can't understand why you talk me that my code is buggy, but it compiles
w/o optimizations switches and works as I wanted to.

I think, it's either compiler or assembler problem because they must not accept
faulty source code (just as point this out to me).

They must not because they are not VB like programs and they are programs for a
computer but not people that can operate with abstract things.

I just need to know what is the absolutely right solution of the problem, and
why compiler/assembler work this unconvinient way for me. If it didn't work at
all, I'd suppose I have a real bug and it's my own fault and I'd looked for a
new manual on inline assembly language. Btw, all the code i've written is done
referring to the following manual:

DJGPP QuickAsm Programming Guide
--------------8<------------------
DJGPP Tutorials v2.55

Hello,

This is an update to my tutorials on DJGPP:

Setup
  djsetup.txt
  djsetup.html
    djv112.txt
    djv112.html
    djv200.txt
    djv200.html
Graphics
  djgfx.txt
  djgfx.html
ASM
  djasm.txt
  djasm.html

The file that links them all together is djgpp.html.

I'm as busy as ever now because of work so there won't be any major 
changes or additions. (Unless someone finds a glaring inaccuracy)

Just remember that the latest version can be found at
http://www.castle.net/~avly/djgpp.html.

Happy coding!

-icbm @EFNET-IRC (Hello #c, #gamecode, and all my pals!)
avly AT fermion DOT com
--------------8<------------------

I didn't figured inline ASM myself. I learnt it from this manual. And everything
worked with it for me until the day i wanted to use the -O2 switch. 

So, forgive me if I used a faulty manual. I couldn't figure out this, since it
really worked.

Just help with concrete advice.

bye.
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru

Eli Zaretskii wrote:
> 
> On Wed, 12 Apr 2000, Alexei A. Frounze wrote:
>


- Raw text -


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