www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/01/16:34:13

From: "Patator" <the DOT patator AT caramail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: sincos function error when compiling allegro 3.938
Date: Mon, 1 Oct 2001 22:14:33 +0200
Organization: Infonie
Lines: 87
Message-ID: <1001967628.749152@remus.infonie.fr>
References: <1001852389 DOT 603990 AT remus DOT infonie DOT fr> <3BB72D62 DOT 26FAE60C AT is DOT elta DOT co DOT il> <1001957413 DOT 611487 AT remus DOT infonie DOT fr> <9pai65$6j4$1 AT news6 DOT svr DOT pol DOT co DOT uk>
NNTP-Posting-Host: remus.infonie.fr
X-Trace: vulcain.infosources.fr 1001967629 29213 212.232.33.73 (1 Oct 2001 20:20:29 GMT)
X-Complaints-To: newsmaster AT infosources DOT fr
NNTP-Posting-Date: 1 Oct 2001 20:20:29 GMT
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
Cache-Post-Path: remus.infonie.fr!unknown AT 195 DOT 242 DOT 125 DOT 99
X-Cache: nntpcache 2.4.0b3 (see http://www.nntpcache.org/)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

when i wrote this message, mingw32 was not installed (no path, no
variables). But I found errors when compiling allegro with mingw32 ! (see a
new message). And i followed exactly what was written in docs (same versions
of mingw32 for same version of allegro !) But in a forum from allegro.cc, i
found an interesting note : update binutils package (this note was written
for a djgpp user, but it seems to also apply to mingw32). The problem come
from sse instructions compatibility (after a little search : pentium II
specific instructions). I think readme.mgw should have indicated to download
binutils.
So as download of binutils has finished, i'll try to compile allegro ..


"Matthew Smith" <matt AT the-good-stuff DOT freeserve DOT co DOT uk> a écrit dans le
message news: 9pai65$6j4$1 AT news6 DOT svr DOT pol DOT co DOT uk...
| Aha, you mentioned MinGW32
|
| I didn't want to suggest this until you mentioned it, in case I added
| confusion.
|
| Remember DJGPP and MinGW32 are both versions of GCC.
| You should not have both /DJGPP/BIN and /MINGW32/BIN on the path at
| the same time,
| and you should not have the DJGPP and DJDIR variables set when using
| MING, etc. or some configure scripts get confused.
|
| My guess is that your DJGPP program is being linked by the MinGW32 ld
| program with the MinGW32 libc
|
| You need to make a pair of .BAT files which set the environment for
| using DJGPP or MINGW32
|
| e.g.
| GODJGPP.BAT
|  set MINGDIR=
|  set DJDIR=/where/you/keep/djgpp
|  set DJGPP=/where/you/keep/djgpp/djgpp.env
|  set PATH=c:\where\you\keep\djgpp\bin;c:\windows\;c:\windows\command
|
| GOMING.BAT
|  set MINGDIR=/wheresmyming/
|  set DJDIR=
|  set DJGPP=
|  set PATH=c:\wheresmyming\bin;c:\windows\;c:\windows\command
|
|
| They look roughly right
|
| Matt
|
|
| "Patator" <the DOT patator AT caramail DOT com> wrote in message
| news:1001957413 DOT 611487 AT remus DOT infonie DOT fr...
| > | If the problem is that you cannot link the program, perhaps you
| have an
| > old
| > | version of the DJGPP library.
| >
| > I've download latest version of djdev*b.zip, and all examples
| compiled well
| > ! But many examples crash (general protection fault, reboot, or
| program
| > closed by windows98 with an error message) when I launch them, but
| others
| > not (allegro setup) It is a celeron 400/128Mo. I've installed
| exactly the
| > same allegro&djgpp on another machine (p200+ 32Mo win98) , and
| there's no
| > problem ! Strange !
| >
| > But i find compiling a windows version of allegro examples&demo is
| too
| > difficult, I get many errors. It is said msvc is not needed if i
| have
| > precompiled dlls (i have them), but installation procedure asks for
| msvc
| > path.
| > I think i'll go back to MinGW32 (since allegro now seems to work
| with this
| > compiler, with no need of external utilities like msvc, rsxntdj).
| >
| > [ P a  t a t o r ] --- http://www.cyberdivad.com
| >
| >
|
|


- Raw text -


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