Dos Changes: !!Moved: engine/32bit.h moved to arch/generic/machine.h cache.c moved to arch/hppa/ cleanalign.c moved to engine/ !!New Files: envos.* *.bsh Instead of linking arch/xy/machine.h an custom include path is used engine.a engine.o main.o makes with engine/Makefile now history.fs and startup.fs works for dos and unix now environment variable osclass is set in envos.fs, wich is os-specific any comments? supressed some warnings in main.c
@ECHO OFF REM Copyright 1995 Free Software Foundation, Inc. REM REM This file is part of Gforth. REM REM Gforth is free software; you can redistribute it and/or REM modify it under the terms of the GNU General Public License REM as published by the Free Software Foundation; either version 2 REM of the License, or (at your option) any later version. REM REM This program is distributed in the hope that it will be useful, REM but WITHOUT ANY WARRANTY; without even the implied warranty of REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the REM GNU General Public License for more details. REM REM You should have received a copy of the GNU General Public License REM along with this program; if not, write to the Free Software REM Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ECHO *** Configuring for MS-DOS with DJGPP 2.0 GNU C *** set THREAD=i set FREGS=n :SWITCHES IF "%1"=="--enable-direct-threaded" set THREAD=d IF "%1"=="--enable-indirect-threaded" set THREAD=i IF "%1"=="--enable-force-reg" set FREGS=y shift IF NOT "%1"=="" GOTO SWITCHES COPY engine\MAKEFILE.DOS engine\MAKEFILE COPY MAKEFILE.DOS MAKEFILE COPY KERNL32L.FI KERNEL.FI COPY DOSCONF.H ENGINE\CONFIG.H COPY ENVOS.FS ENVOS.UNX COPY ENVOS.DOS ENVOS.FS IF "%THREAD%"=="i" ECHO #ifndef INDIRECT_THREADED >>ENGINE\CONFIG.H IF "%THREAD%"=="i" ECHO #define INDIRECT_THREADED 1 >>ENGINE\CONFIG.H IF "%THREAD%"=="i" ECHO #endif >>ENGINE\CONFIG.H IF "%THREAD%"=="d" ECHO #ifndef DIRECT_THREADED >>ENGINE\CONFIG.H IF "%THREAD%"=="d" ECHO #define DIRECT_THREADED 1 >>ENGINE\CONFIG.H IF "%THREAD%"=="d" ECHO #endif >>ENGINE\CONFIG.H IF "%FREGS%"=="y" ECHO #ifndef FORCE_REG >>ENGINE\CONFIG.H IF "%FREGS%"=="y" ECHO #define FORCE_REG 1 >>ENGINE\CONFIG.H IF "%FREGS%"=="y" ECHO #endif >>ENGINE\CONFIG.H
|
CVS Admin Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |