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