2000-02-25 10:15:17 +00:00
|
|
|
|
2000-11-11 08:59:31 +00:00
|
|
|
GoldED+ compilation howto
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
2005-11-01 16:27:47 +00:00
|
|
|
Table of contents
|
|
|
|
|
|
|
|
1. Build Golded+ binaries using GNU C.
|
|
|
|
2. Build Golded+/Win32 binaries using Microsoft Visual C.
|
|
|
|
3. Build Golded+ distribution packages.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
1. Build Golded+ binaries using GNU C.
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
To compile GoldED+ and utilities you'll need:
|
|
|
|
|
2005-11-01 16:27:47 +00:00
|
|
|
- GNU C/C++ at least 2.95.4, gcc 3.x.x are recommended
|
|
|
|
- binutils: ar, ranlib, strip
|
2003-06-09 05:47:39 +00:00
|
|
|
- GNU make, GNU sed and GNU grep
|
2005-11-01 16:27:47 +00:00
|
|
|
- shell ans file utilities: cat, mkdir, echo, rm, [ AKA test (If it's is
|
|
|
|
internal commands of your shell, then these utilities don't needs.)
|
|
|
|
- (optional) GNU Groff - if you wants to make html or txt documentation
|
|
|
|
instead man pages
|
2000-02-25 10:15:17 +00:00
|
|
|
- vi, emacs, or any other editor you like
|
2000-10-24 05:02:25 +00:00
|
|
|
- beer or bear on your choice ;-)
|
2000-02-25 10:15:17 +00:00
|
|
|
|
2002-06-09 09:36:02 +00:00
|
|
|
---- MINGW ONLY ----
|
2000-11-11 08:59:31 +00:00
|
|
|
Please consult this howto on installing MinGW over Cygwin:
|
|
|
|
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/mno-cygwin-howto.txt
|
2002-05-10 05:06:56 +00:00
|
|
|
--- gcc-2.95.3-5.tar.bz2 + mingw-runtime-1.3-2.tar.bz2 ---
|
|
|
|
Move /usr/include/mingw to /usr/local/include/mingw, take gcc-2.95.3-xxx.tar.gz
|
|
|
|
from www.mingw.org, copy .../lib/stdlibc++.a to /usr/local/lib/mingw, copy
|
|
|
|
.../include/g++-3 to /usr/local/include/mingw/g++-3.
|
2000-03-22 17:59:18 +00:00
|
|
|
------ COMMON ------
|
|
|
|
|
2005-11-01 16:27:47 +00:00
|
|
|
---- DJGPP ONLY ----
|
|
|
|
Visits to http://www.delorie.com/djgpp/ and download following packages: djdev,
|
|
|
|
bash, binutils, fileutils, gcc, gpp, grep, make, sed, Sh-utils, ntlfn, Groff.
|
|
|
|
Install these packages and run bash.
|
|
|
|
------ COMMON ------
|
|
|
|
|
|
|
|
First, edit GNUmakef.def for the preferrable compilation options.
|
|
|
|
|
2002-06-09 09:36:02 +00:00
|
|
|
---- DJGPP ONLY ----
|
|
|
|
When building in DJGPP environment you may wish to use liblocal which may be
|
2005-11-14 12:50:31 +00:00
|
|
|
found on DJGPP site (visits a http://www.delorie.com/djgpp/ and locate for
|
|
|
|
llocl02b.zip) or on Alexander S. Aganichev's personal page (direct link is
|
|
|
|
http://aaganichev.narod.ru/djgpp/llocl02b.zip). This library provides basic
|
2002-06-09 09:36:02 +00:00
|
|
|
locale support via country.sys driver. Otherwise just comment -llocal in
|
|
|
|
GNUmakef.def.
|
|
|
|
------ COMMON ------
|
|
|
|
|
2000-06-16 23:30:48 +00:00
|
|
|
Now go to golded3 and copy mygolded.__h to mygolded.h and adjust it for
|
2000-02-25 10:15:17 +00:00
|
|
|
yourself (put your name, FTN address and e-mail). Goto root again.
|
|
|
|
|
2000-10-24 05:02:25 +00:00
|
|
|
Exec 'make' (or `gmake' on BSD) and drink beer or play with bear until
|
2000-11-11 08:59:31 +00:00
|
|
|
compilation in progress. But better - help your wife (if you have one) or
|
|
|
|
wives (if you have more :)) with home work ;-)
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
ls bin/
|
|
|
|
|
|
|
|
You have to get ged{short-patform-name}, gn{short-patform-name}, and
|
|
|
|
rddt{short-patform-name}. If so, you did it!
|
2005-11-01 16:27:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
2. Build Golded+/Win32 binaries using Microsoft Visual C.
|
|
|
|
|
|
|
|
To compile GoldED+ and utilities you'll need Visual Studio 6.0 with Service
|
|
|
|
Pack 5 or Visual Studio .NET.
|
|
|
|
|
|
|
|
First, propetly install a following Visual Studio's components:
|
|
|
|
- Visual C/C++ compiler;
|
|
|
|
- Nmake utility.
|
|
|
|
|
|
|
|
Next, copy golded3\mygolded.__h to golded3\mygolded.h and edit last to adjust
|
|
|
|
it for yourself (put your name, FTN address and e-mail).
|
|
|
|
|
2005-11-02 08:52:25 +00:00
|
|
|
Last, run following command:
|
2005-11-01 16:27:47 +00:00
|
|
|
nmake /f golded.mak CFG="Release"
|
|
|
|
and make some home work :) until compulation ends.
|
|
|
|
|
|
|
|
Locate following files in Release\bin sub-directory: gedwin.exe, gnwin.exe and rddtwin.exe.
|
|
|
|
If true - then you have Golded+/W32-MSVC :).
|
|
|
|
|
|
|
|
|
|
|
|
3. Build Golded+ distribution packages.
|
|
|
|
|
|
|
|
If you want to make binary package of Golded+ then you may call one of gp*.sh
|
|
|
|
shell scripts:
|
|
|
|
- dist-gps.sh to produce full sources package;
|
|
|
|
- dist-gpc.sh to produce config files package;
|
|
|
|
- dist-gpd.sh to produce dos binaries package;
|
|
|
|
- dist-gpv.sh to produce Win32 (MS Visual C) binaries package;
|
|
|
|
- dist-gpw.sh to produce Win32 (MINGW32) binaries package.
|