Mail Archives: djgpp/2001/10/01/16:34:13
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 -