www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/22/23:30:17

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: windows version of Crafty
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <qotjisob4rbol7aue9hb79m7qo266unv7u@4ax.com>
References: <003101bfc355$56967280$fa13ddcc AT lhaglund> <8g9ndb DOT 3vs4i2t DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de> <72ahis47e2qahll2k6n2cufc5dd4g6df3f AT 4ax DOT com> <8gbbce DOT 3vs4i2t DOT 0 AT buerssner-17104 DOT user DOT cis DOT dfn DOT de>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 44
X-Trace: +rnM+lacuUjsJMzO668/W9KSPfktANC1bLZmcas68hDBi0tUckboCuKqvZjwUtpJI9nyXQvxRikF!rRgAJATUwgcXtSRO2YfJOp8mg/ggo0EDFw9N7U9Eac5Q7ZL9CUgqojNIM31YFI8+QyQfkiG7i8xu!omM3n7o=
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: Tue, 23 May 2000 03:18:58 GMT
Distribution: world
Date: Tue, 23 May 2000 03:18:58 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 22 May 2000 11:08:10 GMT, buers AT gmx DOT de (Dieter Buerssner) wrote:

>Damian Yerrick wrote:
>
>>On 21 May 2000 20:13:28 GMT, buers AT gmx DOT de (Dieter Buerssner) wrote:
>>>The easiest option you have, is to download wcrafty.x.y.exe or compile
>>>it with MSVC (which also will give a faster executable).
>>
>>What about mingw32?
>
>I don't know, what you are refering this to.

It's my standard response to the "can't open a pipe between DOS and
Win32 apps" FAQ.  It's still a GNU environment.

>It should be possible
>to compile crafty with mingw32. It would need some Makefile hacking.

But not very much if you already have a working DJGPP makefile;
DJGPP and mingw32 are both GNU make + GCC + GNU binutils.

>When you are refering to the speed. Due to the author of crafty,
>MSVC will compile the fastest crafty executable, almost 30% faster
>than gcc compiled.

MSVC costs USD 200; the optimizer costs USD 300 extra.
Not very cheap for amateur hackers.

>I can confirm this (and I tried many Compiler switches).

What about these?
  -O3 -mpentium -ffast-math -fomit-frame-pointer

>One can also see it at the assembler level.

From what I've read, unoptimized GCC output is total cr4p.

-- 
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