delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/23/04:45:37

From: fsnijder AT elektron DOT et DOT tudelft DOT nl (FIM)
Newsgroups: comp.os.msdos.djgpp
Subject: Problems using djgpp with matcom (make)
Date: Sun, 23 Mar 97 03:59:39 GMT
Organization: Delft University of Technology
Lines: 98
Message-ID: <5h29n5$era$1@news.tudelft.nl>
NNTP-Posting-Host: dokov.et.tudelft.nl
Keyword: djgpp matcom make
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm not an experienced djgpp user, but I wanted to compile some Matlab 
m-files. So I downloaded the appropriate zip - files and extracted them :

 Directory van E:\DJGPP.

[.]             [..]            00_INDEX.TXT    WS_FTP.LOG      DJDEV201.ZIP
FAQ202B.ZIP     BNU27B.ZIP      GPP2721B.ZIP    [BIN]           DJGPP.ENV
[INCLUDE]       [INFO]          [LIB]           [MANIFEST]      [TMP]
[ZONEINFO]      [FAQ]           LGP271B.ZIP     MAK375B.ZIP     [LANG]
OBC2721B.ZIP    TXI390B.ZIP     [GNU]

At first nothing would work but after setting some variables in the 
autoexec.bat :

rem - By Windows 95 Network - C:\WINDOWS\net start
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
SET INCLUDE=e:\djgpp\INCLUDE;e:\djgpp\lang\cxx\
SET LIB=e:\djggp\LIB;e:\MATCOM\
path=e:\djgpp\bin;c:\windows\command;c:\windows

I got the following result :

E:\MATCOM>make djgpp
make dosmatlib_matcom 'CXX=gcc' 'CXXFLAGS= -w -O -fno-inline' LDFLAGS='-lgpp 
-lm
' 'EXENAME=../../matcom.exe'
make.exe[1]: Entering directory `e:/matcom'
cd src\matlib
del *.o
Kan het bestand niet vinden.
make -f ../../makefile makematlib 'CXX=gcc' 'CXXFLAGS=-w -O -fno-inline' 
M_TYPE=
double MLIB=1 'LDFLAGS=-lgpp -lm'
make.exe[2]: Entering directory `e:/matcom/src/matlib'
gcc -c -w -O -fno-inline -Dm_type=double -DMLIB=1 -o file_32.o file_32.cxx
file_32.cxx:8: string.h: No such file or directory (ENOENT)
make.exe[2]: *** [file_32.o] Error 1
make.exe[2]: Leaving directory `e:/matcom/src/matlib'
make.exe[1]: *** [dosmatlib] Error 2
make.exe[1]: Leaving directory `e:/matcom'
make.exe: *** [djgpp] Error 2

note the errors.

What is my problem and how can I fix it? (please also look at Ad1 and Ad2)

Thank you for your time!!

Freddy Snijder.




Ad1. :

E:\MATCOM>dir/w

 Het volume in station E is DATADISK   .
 Het volumenummer is 1D6F-15E9.
 Directory van E:\MATCOM.

[.]             [..]            [DOC]           [EXAMPLES]      [SRC]
WMATCOM.EXE     DMATCOM.EXE     SETUP.EXE       MATCOM.ICO      MATWORD.ICO
MATWRITE.ICO    WCOMMAND.EXE    WCOMMAND.PIF    MATCOM.PIF      INSTALL.BAT
MAKEFILE        MEXHELP.C       MATWAVE.EXE     VBRUN300.DLL    MATLIB.H
WINTTY.OBJ      WINTTYC.OBJ     MATLIB.DEF      MATCOM.RSV      README.TXT
MATCOM.BAT      MATCOM.INI      MPATH           INSTALL.PIF     PATH.BAT
MCPATH.BAT

Ad2. : When trying to use matcom on an example I get the folowing results :

MATCOM                                                             Version 
2.00
Copyright (c) 1995,1996 by MathTools LTD                    All rights 
reserved

* EVALUATION version
* You must order after 30 days. See   order.txt   or   
http://www.mathtools.com

Using DJGPP : Target GO32

Skipping sample.m
Skipping grad.m
Compiling...
In file included from grad.cpp:5:
E:\MATCOM\/matlib.h:15: stdio.h: No such file or directory (ENOENT)
E:\MATCOM\/matlib.h:16: stdlib.h: No such file or directory (ENOENT)
E:\MATCOM\/matlib.h:604: iostream.h: No such file or directory (ENOENT)
E:\MATCOM\/matlib.h:656: limits.h: No such file or directory (ENOENT)
In file included from g_sample.cpp:5:
E:\MATCOM\/matlib.h:15: stdio.h: No such file or directory (ENOENT)
E:\MATCOM\/matlib.h:16: stdlib.h: No such file or directory (ENOENT)
E:\MATCOM\/matlib.h:604: iostream.h: No such file or directory (ENOENT)
E:\MATCOM\/matlib.h:656: limits.h: No such file or directory (ENOENT)
gcc.exe: grad.o: No such file or directory (ENOENT)
gcc.exe: g_sample.o: No such file or directory (ENOENT)

- Raw text -


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