[AD] Re: Makefile.vc borked

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Okay.. new point #5.

misc\embedman.bat lib/msvc/alleg42.dll 2
make: miscembedman.bat: Command not found
make: *** [lib/msvc/alleg42.dll] Error 127

That's coz i'm using MSYS make and not mingw32-make. I personally would recommend having a Unix_tools section in our makefiles. :) It's easier. Also, runner isn'tr strictly required. I also found that MSVC and icl support / es in filenames when building under make instead of ming32-make... We might also consider dropping the runner.exe.

Frankly, regarding embedman.bat, i find it better to build Allegro thru' /MT and the examples thru' /MD (otpionally). It solves problems of msvcrt runtime compats of alleg42.dll distribution.

Example:

C:\EXTBIN>DUMPBIN /DEPENDENTS alleg42.dll
Microsoft (R) COFF/PE Dumper Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file alleg42.dll

File Type: DLL

  Image has the following dependencies:

    KERNEL32.DLL
    DDRAW.dll
    DINPUT.dll
    DSOUND.dll
    GDI32.dll
    ole32.dll
    USER32.dll
    WINMM.dll

  Summary

       32000 .data
        3000 .data1
       20000 .rdata
        E000 .reloc
        1000 .rsrc
       BD000 .text
        2000 _RDATA

(on the alleg42.dll i built thru' VC8)

That wraps up my points on the VC build.

--
Karthik
http://guilt.bafsoft.net

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/