Revision history for DevBuildDos


Revision [21951]

Last edited on 2017-10-18 15:23:28 by angros47
Additions:
- ##pthreads## (##pth207b.zip##)
- ##socket## (##ls080b.zip##)
Setup DJGPP by extracting everything (except ls080b.zip) into ##""C:\DJGPP""## and adding an environment variable named "DJGPP", set to ##""C:\DJGPP\djgpp.env""##.
From ls080b.zip, only the file libsocket.a would be needed, and it has to be installed into ##""C:\DJGPP\lib""##.
The file pthread.h in ##""C:\DJGPP\include""## must be modified, by removing the lines:
%%#include <sys/socket.h> /* for sockaddr /%%
%%#include <sys/wtime.h> /* for struct timespec */%%
%%#include <sys/select.h>%%
Another note: if the runtime library is modified, the file symb_reg.txt (located in the dos subdirectory) might need to be updated. To do that, a compiled copy of the runtime library is needed, as well as the file maksymbr.exe (obtainable by compiling maksymbr.bas) and the file maksymbr.bat. These three files must be placed in the same directory, and maksymbr.bat must be invoked. A new file symb.reg is built, and it can be moved in the dos subdirectory to replace the old one. The runtime library must then be removed with "make clean", and rebuilt.
Deletions:
Setup DJGPP by extracting everything into ##""C:\DJGPP""## and adding an environment variable named "DJGPP", set to ##""C:\DJGPP\djgpp.env""##.


Revision [21573]

Edited on 2016-08-27 11:49:52 by DkLwikki [Update DJGPP download dirs]
Additions:
To install DJGPP, we need to download several packages which can be found on the [[http://www.delorie.com/djgpp/getting.html|DJGPP homepage]]. FB needs ##djdev*.zip## from the ##[[http://www.delorie.com/pub/djgpp/current/v2/|current/v2/]]## directory, and several others from the ##[[http://www.delorie.com/pub/djgpp/current/v2gnu/|current/v2gnu/]]## directory. The following packages are needed:
- ##djdev## (##djdev*.zip##)
Deletions:
To install DJGPP, we need to download several packages which can be found on the [[http://www.delorie.com/djgpp/getting.html|DJGPP homepage]]. FB needs djdev204.zip from the ##[[http://www.delorie.com/pub/djgpp/beta/v2/|beta/v2/]]## directory, and several others from the ##[[http://www.delorie.com/pub/djgpp/beta/v2gnu/|beta/v2gnu/]]## directory. If anything is missing from there, you can also look into the ##[[http://www.delorie.com/pub/djgpp/current/v2gnu/|current/v2gnu/]]## directory. The following packages are needed:
- ##djdev## (##djdev*.zip##) - //pick up djdev204.zip or later from the ##beta/## directory//


Revision [20782]

Edited on 2016-03-12 13:00:32 by fxm [Formatting]
Additions:
-Copy these files to ##""C:\fbcdos\bin\dos""##:
-Copy these files to ##""C:\fbcdos\lib\dos""##:
Deletions:
1) Copy these files to ##""C:\fbcdos\bin\dos""##:


1) Copy these files to ##""C:\fbcdos\lib\dos""##:


Revision [19976]

Edited on 2016-02-10 15:47:53 by DkLwikki [Update link format]
Additions:
To compile a new version of FB, you first need to [[DevGettingTheSourceCode|get the FB source code]]. The following assumes that you have a directory called ##fbcdos##, containing the latest FB source code. Naming it ##fbcdos## is convenient as it avoids conflicts in case you also have an ##fbc## directory for building the Windows version of FB.
To install DJGPP, we need to download several packages which can be found on the [[http://www.delorie.com/djgpp/getting.html|DJGPP homepage]]. FB needs djdev204.zip from the ##[[http://www.delorie.com/pub/djgpp/beta/v2/|beta/v2/]]## directory, and several others from the ##[[http://www.delorie.com/pub/djgpp/beta/v2gnu/|beta/v2gnu/]]## directory. If anything is missing from there, you can also look into the ##[[http://www.delorie.com/pub/djgpp/current/v2gnu/|current/v2gnu/]]## directory. The following packages are needed:
We will need a working FB-dos installation to bootstrap the new FB compiler. If you do not have FB-dos installed yet, download the latest ""FreeBASIC-X.XX.X-dos"" release from [[http://sourceforge.net/projects/fbc/files/Binaries%20-%20DOS/|FB's download site]]. It should be extracted somewhere like ##""C:\FreeBASIC-X.XX.X-dos""##.
If you want to create a [[DevNormalVsStandalone|traditional standalone]] FB-dos setup like the one from the ##FreeBASIC-X.XX.X-dos## release package, you need to tell FB's makefile by setting the ENABLE_STANDALONE variable. Assuming the FB sources are located at ##""C:\fbcdos""##, create a ##""C:\fbcdos\config.mk""## file containing the following:
We will need a working fbc installation to bootstrap the new FB compiler. If you do not have fbc installed yet, download the latest ""fbcXXXXb"" package from [[http://sourceforge.net/projects/fbc/files/Binaries%20-%20DOS/|FB's download site]], and extract it into the DJGPP directory (##C:\DJGPP##) like a DJGPP package. This will add a working fbc to your DJGPP installation.
Deletions:
To compile a new version of FB, you first need to [[DevGettingTheSourceCode get the FB source code]]. The following assumes that you have a directory called ##fbcdos##, containing the latest FB source code. Naming it ##fbcdos## is convenient as it avoids conflicts in case you also have an ##fbc## directory for building the Windows version of FB.
To install DJGPP, we need to download several packages which can be found on the [[http://www.delorie.com/djgpp/getting.html DJGPP homepage]]. FB needs djdev204.zip from the ##[[http://www.delorie.com/pub/djgpp/beta/v2/ beta/v2/]]## directory, and several others from the ##[[http://www.delorie.com/pub/djgpp/beta/v2gnu/ beta/v2gnu/]]## directory. If anything is missing from there, you can also look into the ##[[http://www.delorie.com/pub/djgpp/current/v2gnu/ current/v2gnu/]]## directory. The following packages are needed:
We will need a working FB-dos installation to bootstrap the new FB compiler. If you do not have FB-dos installed yet, download the latest ""FreeBASIC-X.XX.X-dos"" release from [[http://sourceforge.net/projects/fbc/files/Binaries%20-%20DOS/ FB's download site]]. It should be extracted somewhere like ##""C:\FreeBASIC-X.XX.X-dos""##.
If you want to create a [[DevNormalVsStandalone traditional standalone]] FB-dos setup like the one from the ##FreeBASIC-X.XX.X-dos## release package, you need to tell FB's makefile by setting the ENABLE_STANDALONE variable. Assuming the FB sources are located at ##""C:\fbcdos""##, create a ##""C:\fbcdos\config.mk""## file containing the following:
We will need a working fbc installation to bootstrap the new FB compiler. If you do not have fbc installed yet, download the latest ""fbcXXXXb"" package from [[http://sourceforge.net/projects/fbc/files/Binaries%20-%20DOS/ FB's download site]], and extract it into the DJGPP directory (##C:\DJGPP##) like a DJGPP package. This will add a working fbc to your DJGPP installation.


Revision [17189]

The oldest known version of this page was created on 2014-08-28 13:54:25 by DkLwikki [Update link format]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode