Re: Need libraries for Win32, but not cygwin nor VC2005
On Fri, Mar 21, 2008 at 03:13:14PM -0400, George Brink wrote:
> Julien,
>
> Thanks for promptly reply, but...
>
> First, let me describe my environment: I use MinGW under Windows XP and
> Windows Vista. I do not use MSYS. I prefer to compile my programs with
> mingw32-make directly from Window's cmd.exe, or run it from .bat file. That
> allows me to compile Win32 program without any additions (like VS2005
> manifests, cygwin.dll or any other kind of extra dlls at all), my programs
> require only msvcrt.dll, kernel32.dll, user32.dll for system level shared
> libraries and able to run even on Win'98 (yes, I still have it too). No
> manifests, no cygwin.dll, not even mingw10.dll.
> But without MSYS or Cygwin environment I can not use configure script.
> MinGW's gcc can import and use libraries from VC6 or VS2003 for any
> additional libraries (what's how I write for SDL).
> But I do not have VC6 myself and therefore can not compile Agar with it.
> I have VS Toolkit 2003, but it does not understand .vsproj files. (Makefiles
> for nmake would be useful for me.)
>
> I even downloaded and install cygwin, tried to run configure, and it failed
> with 'no SDL installed', by looking in configure script I see it is looking
> for sdl-config file, but in my environment I have just SDL.dll, SDL.lib and
> SDLmain.lib (from precompiled VC6 package I downloaded from libsdl.org)
> For SDL I can even compile without import libraries at all:
> gcc -c -o hello.o -IC:\xlibs\include hello.c
> gcc -o hello.exe -d C:\xlibs\bin\SDL.dll C:\xlibs\lib\winmain.o hello.o
> And that is directly from windows' own command line shell cmd.exe.
What you need to do in this case is to compile SDL from source into your
(Continue reading)