Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IBM C set/2 libraries

12 views
Skip to first unread message

Tero Kaarlela

unread,
Nov 19, 2006, 11:37:48 AM11/19/06
to
Hi,

I have a need to recompile old program(MSHELL) made with IBM C/Set2.
During compilation I get library dde4mbs.lib not found. Is there a
replacement for this library on VAC3? Or do I need IBM C Set/2 to compile
this? If so does someone have a copy of it? I am also attaching makefile
from mshell source with this post for someone willing to help to take a look
at it.

# basic settings

CCBASE = icc /c /Gd- /Se /Re /ss /Ms /Gm+ /Q+ /Fo$*.obj /Gs- /Kb+

LINKBASE = link386 /nod /map

# switches for debug and retail

DEBUGCFLAGS = /Ti+

RETAILCFLAGS = /DNDEBUG

DEBUGLINKFLAGS = /cod

# to build non-debug version: NMAKE NDEBUG=1 ( case sensitive )

!ifndef NDEBUG

# debug version

BIN = debug

CC = $(CCBASE) $(DEBUGCFLAGS)

LINK = $(LINKBASE) $(DEBUGLINKFLAGS)

!else

# retail version

BIN = retail

CC = $(CCBASE) $(RETAILCFLAGS)

LINK = $(LINKBASE)

!endif

all: $(BIN)\mshell.exe

# make target directory if necessary

!if [ mkdir $(BIN) 2>nul ]

!endif

OBJ = $(BIN)\MSHELL.OBJ $(BIN)\CREATE.OBJ $(BIN)\OBJECT.OBJ $(BIN)\MENU.OBJ
$(BIN)\DLG.OBJ

H = MSHELL.H DEF.H

SRC = *.c *.h *.rc *.dlg *.ico *.def makefile readme license.txt

LIBS = DDE4MBS OS2386

$(BIN)\dlg.obj: dlg.c $(H)

$(CC) dlg.c

$(BIN)\menu.obj: menu.c $(H)

$(CC) menu.c

$(BIN)\create.obj: create.c $(H)

$(CC) create.c

$(BIN)\object.obj: object.c $(H)

$(CC) object.c

$(BIN)\mshell.obj: mshell.c $(H)

$(CC) mshell.c

$(BIN)\MSHELL.EXE: $(OBJ) mshell.def mshell.res

$(LINK) $(OBJ), $(BIN)\MSHELL.EXE, $(BIN)\MSHELL.MAP, $(LIBS), MSHELL

rc mshell.res $(BIN)\MSHELL.EXE

cd $(BIN)

mapsym mshell

cd ..

mshell.res: mshell.dlg mshell.rc mshell.ico

rc -r mshell.rc

zip:

nmake source.zip

nmake mshell.zip

source.zip: $(SRC)

if exist source.zip erase source.zip

pkzip2 source $(SRC)

mshell.zip: retail\mshell.exe readme license.txt mshell.abs source.zip

if exist mshell.zip erase mshell.zip

pkzip2 mshell $**

Aidan Grey

unread,
Nov 19, 2006, 1:36:05 PM11/19/06
to
On Sun, 19 Nov 2006 18:37:48 +0200, Tero Kaarlela wrote:

>Hi,
>
> I have a need to recompile old program(MSHELL) made with IBM C/Set2.
>During compilation I get library dde4mbs.lib not found. Is there a
>replacement for this library on VAC3? Or do I need IBM C Set/2 to compile
>this? If so does someone have a copy of it? I am also attaching makefile
>from mshell source with this post for someone willing to help to take a look
>at it.
>

I don't know the answers to your questions. However, if this
program is that old, is it 16 bit or 32 bit?

There are a number of DDE*.DLL files under my VAC directory.
I would suspect one of them has the functions that were previously
in DDE4MBS.DLL.

What happens if you delete the reference to DDE4MBS.DLL from
your makefile? The compile should then fail with unresolved
references, but a list of those references might offer a clue on
where to look for replacement functions.


Aidan Grey


Tero Kaarlela

unread,
Nov 19, 2006, 3:15:57 PM11/19/06
to
Program is 32-bit. I modified the makefile to compile with VAC308 and ILINK
instead of C set. Used newer lib instead of DDE4MBS.lib it was CPPOM30.lib
if IIRC.


Tero

"Aidan Grey" <apg...@nospam.con> kirjoitti viestissä
news:ncterlabfcnzpba...@news.execulink.com...

Michael Greene

unread,
Nov 21, 2006, 7:04:22 PM11/21/06
to

Tero,

I think I emailed you the exe file, but if you want to try mshell with
Open Watcom try this:

http://www.mgreene.org/tmp/mshell_ow.zip

I clean up and made a wmake makefile. You can get the new version of
Open Watcom:

ftp://ftp.openwatcom.org/watcom/devel/open-watcom-c-os2-1.6-rc2.exe

Mike

Tero Kaarlela

unread,
Nov 21, 2006, 8:16:00 PM11/21/06
to
Thanks for this Havent tried this yet since version compiled with VAC308
seems to work too.

Tero

"Michael Greene" <o...@mgreene.org> kirjoitti viestissä
news:buM8h.3$Ey...@newsfe18.lga...

0 new messages