Added liblocal for DJGPP building

This commit is contained in:
Alexander S. Aganichev 2002-06-09 09:36:02 +00:00
parent 04612428b5
commit 45bb6613de
2 changed files with 11 additions and 7 deletions

View File

@ -67,7 +67,7 @@ endif
# force not to use coprocessor features in DOS, if you have one you may remove this
ifeq ($(PLATFORM),djg)
CFLAGS+=-mcpu=i386
LNKFLAGS+=-lwmemu
STDLIBS+=-llocal -lwmemu
endif
BIN=bin

View File

@ -6,12 +6,13 @@ by Alexander Aganichev, 2:5020/201.58 <aaganichev@netscape.net>
To compile GoldED+ and utilities you'll need:
- GNU C++ newer than 2.8.x, gcc 2.95.2 recommended
- GNU C++ newer than 2.8.x, gcc 2.95.3 or gcc 3.0.x are recommended, gcc 3.1
not tested yet.
- GNU make and GNU sed
- vi, emacs, or any other editor you like
- beer or bear on your choice ;-)
--- MINGW ONLY ---
---- MINGW ONLY ----
Please consult this howto on installing MinGW over Cygwin:
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/mno-cygwin-howto.txt
--- gcc-2.95.3-5.tar.bz2 + mingw-runtime-1.3-2.tar.bz2 ---
@ -20,6 +21,13 @@ from www.mingw.org, copy .../lib/stdlibc++.a to /usr/local/lib/mingw, copy
.../include/g++-3 to /usr/local/include/mingw/g++-3.
------ COMMON ------
---- DJGPP ONLY ----
When building in DJGPP environment you may wish to use liblocal which may be
found on http://aaganichev.narod.ru/djgpp/llocl01b.zip. This provides basic
locale support via country.sys driver. Otherwise just comment -llocal in
GNUmakef.def.
------ COMMON ------
First, edit GNUmakef.def for the preferrable compilation options.
Now go to golded3 and copy mygolded.__h to mygolded.h and adjust it for
@ -33,7 +41,3 @@ ls bin/
You have to get ged{short-patform-name}, gn{short-patform-name}, and
rddt{short-patform-name}. If so, you did it!
When building in DJGPP environment you may wish to patch libc with djlocale
patch which may be found on http://asa.i-connect.com/djlocale.zip. This patch
intended for those who worried about NLS support.