www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/10/17:00:47

From: "AndrewJ" <luminous-is AT home DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <3969a2f3$1 AT filemon DOT telecable DOT es>
Subject: Re: Winallegro+Mingw32?
Lines: 69
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <Uwma5.146699$7o1.3654155@news2.rdc1.on.home.com>
Date: Mon, 10 Jul 2000 16:07:16 GMT
NNTP-Posting-Host: 24.42.120.18
X-Complaints-To: abuse AT home DOT net
X-Trace: news2.rdc1.on.home.com 963245236 24.42.120.18 (Mon, 10 Jul 2000 09:07:16 PDT)
NNTP-Posting-Date: Mon, 10 Jul 2000 09:07:16 PDT
Organization: @Home Network Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Straight from the README.MGW from Allegro 3.9.32 (WiP)

---------------------------------------------------------------------------

=======================================
============ Mingw32 notes ============
=======================================

   This isn't a full Mingw32 port of Allegro, because it uses a DLL library
   that is compiled with MSVC. You can't compile Allegro itself with
   Mingw32, but as long as you have the MSVC DLL, you can use Mingw32 to
   build all the examples and test programs, and to write Allegro programs
   of your own. See readme.vc for general information about the status of
   the Windows library.

   At some point in the future, this will become a full gcc port with a
   natively compiled DLL, but that version isn't entirely working yet. You
   can try out a statically linked version of the native Mingw32 DLL by
   having a look in readme.mgs and following the instructions given there,
   but that version is currently in need of developers rather more than
   users :-)

===========================================
============ Required software ============
===========================================

   - Allegro DLL, produced by MSVC.
   - Minimalist GNU Win32 (Mingw32) compiler (see below).
   - Optional: rm   (fil*b.zip). Used by the clean and uninstall targets.
   - Optional: sed  (sed*b.zip). Used by "make depend" and "fixdll".
   - Optional: sort (txt*b.zip). Used by "fixdll". Use Unix sort, not DOS!

   At the moment the only way to get an Allegro DLL is by using MSVC to
   compile it yourself. Eventually we are planning to distribute precompiled
   versions of this, but that doesn't make sense while the code is changing
   so rapidly. The DLL should be in your allegro/lib/msvc/ directory.

   For the Mingw32 part, you will need to obtain the following distributions
   from the internet:

   1) The Mingw32 compiler, documentation and utilities from
      http://www.xraylith.wisc.edu/~khan/software/gnu-win32/
      At the time of this writing (Nov. 1999) gcc-2.95.2 is out and one
      should get gcc-2.95.2-crtdll.exe and mingw32-docs-html.exe.

   2) Create a directory for mingw32, e.g. c:\mingw32. Unpack the gcc
      distribution into c:\mingw32 preserving the directory structure and
      case of filenames.

   3) Make the following additions / changes to autoexec.bat
      PATH=%PATH%;c:\mingw32\bin

   On Windows 9x reboot your computer.
   Test the installation by typing: gcc -v.
   The answer should be simmilar to
   Reading specs from C:\MINGW32\BIN\..\lib\gcc-lib\i386-mingw32\2.95.2\specs
   gcc version 2.95.2 19991024 (release)

---------------------------------------------------------------------------

Does this answer your question? :)

AndrewJ

NeoPhox dun said:
> Is it possible to use Winallegro with Mingw32?
> Thanks.


- Raw text -


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