delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/11/11:30:15

Message-ID: <3EBE6C88.4050800@hotmail.com>
From: Bill Hart <willymo AT hotmail DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: database engine?
References: <3EB0676B DOT 5030501 AT hotmail DOT com> <3EB22B01 DOT 2040707 AT geninfor DOT com> <3EB56728 DOT 1040008 AT hotmail DOT com> <3EB622B6 DOT 1030404 AT geninfor DOT com>
Lines: 69
Date: Sun, 11 May 2003 15:27:55 GMT
NNTP-Posting-Host: 63.184.209.4
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread1.prod.itd.earthlink.net 1052666875 63.184.209.4 (Sun, 11 May 2003 08:27:55 PDT)
NNTP-Posting-Date: Sun, 11 May 2003 08:27:55 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.
--------------070905020501080803020207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit



Rafael García wrote:
> Bill Hart wrote:
> 
>>
>> I presently own C Database Toolchest I bought for use with Turbo C 
>> years ago.  I like the Mix package but have been unable to move it to 
>> DJGPP because there is no canned make file for this compiler.  I don't 
>> have the knowlege/experience to manually recompile the library without 
>> an explicit set of instructions.
> 
> 
> If you insert all the files of the package in your project list and 
> compile it, you should have some msg we can begin to work with.

Haven't gotten far enough along to have hit a locking snag yet, I'm 
still at the beginning.





--------------070905020501080803020207
Content-Type: text/plain;
 name="ORGMAKEF.TXT"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ORGMAKEF.TXT"

Original Mix Turbo C makefile

OBJ=   isaminit.obj isamexit.obj copydb.obj newindex.obj destrydb.obj \
       renamedb.obj dbhandle.obj findrec.obj findtail.obj getfldct.obj \
       getidxnm.obj isammsg.obj prterr.obj matchkey.obj modrec.obj \
       rmindex.obj delrec.obj holes.obj showkey.obj addrec.obj \
       createdb.obj findkey.obj findprev.obj mkindex.obj namelist.obj \
       progress.obj ihandle.obj showdb.obj findmark.obj findnext.obj \
       findhead.obj getrec.obj getrlen.obj markrec.obj matpre.obj \
       showdesc.obj getdesc.obj showfld.obj getfldnm.obj showidx.obj \
       showrec.obj upindex.obj mkkey.obj opendb.obj closedb.obj path.obj \
       filename.obj chgextnt.obj flushdb.obj

HEADER= isam.i ..\cbtree.h isamerr.h isam.h ..\cbt\member.h isam.cfg   (1)

CFLAGS= -mm -c -I.. -I..\cbt                                         (2)

isam.lib: $(OBJ)                                                     (3)
	del isam.lib
	tlib isam.lib @isam.rsp

$(OBJ): $(HEADER)
	tcc $(CFLAGS) $*.c                                           (4)

(1) I can move the .h files around so the compiler can find them.
(2) I remove the memory model switch & fix the include dir
(3) Don't have a clue what to use for "tlib"
(4) Change to gcc, and "$*.c" doesn't work.

I change the $*.c to *.c and all my source files compile without error 
over and over.

--------------070905020501080803020207--

- Raw text -


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