[Mew-Win32 03219] Re: mewls and mewencode and etc compile bc++

Mitsugu SAKAMOTO mitsugu at example.com
2001年 5月 24日 (木) 17:50:31 JST


From: Koichi INOUE <inoue at example.com>
Subject: [Mew-Win32 03218] Re: mewls and mewencode and etc compile bc++
Date: 24 May 2001 17:11:53 +0900

> o get zlib package
> 
>   - Get following archives (you should get them from mirror sites).
> 
>   ftp://ftp.freesoftware.com/pub/infozip/zlib/zlib113.zip
>   ftp://ftp.freesoftware.com/pub/infozip/zlib/contrib/zlib113-win32.zip
> 
>   - Extract them and copy necessary files.
> --end of citation
> なので、zlib113, zlib113-win32という二つのファイルから必要なライブラリ
> とヘッダファイルを取り出して適当なところに置いてくれということではない
> でしょうか。

はい。そうでした。っと言うかzlib113-win32.zipだけでも良い感じです。
で、これを取り出して00readme.w32にしたがって、
---- makefile.w32
# -*- Mode: makefile; -*-

# **** Please modify ****
ZLIBINC = C:/usr/local/zlib
ZLIBLIB = C:/usr/local/zlib/zlibstat.lib

# for Visual C++#
#CC      = cl
#CFLAGS  = -nologo -O2 -W3 -Iw32 -I$(ZLIBINC)
#EXEFLAG = -Fe

# for Borland C++
CC      = bcc32
CFLAGS  = -O2 -w -Iw32 -I$(ZLIBINC)
EXEFLAG = -e
----
と修正してmakeすると。

MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
	bcc32 -O2 -w -Iw32 -IC:/usr/local/zlib -emewencode.exe mewencode.obj utils.obj C:/usr/local/zlib/zlibstat.lib
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: 'C:\USR\LOCAL\ZLIB\ZLIBSTAT.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

** error 1 ** deleting mewencode.exe

と起こられます。
#vc++だとうまくいきそうな感じです。
#coffをomf?とかに変換してね。っていってるのですよね。
##なんかはまっている>自分

--- Mitsugu



Mew-win32 メーリングリストの案内