Paul Dufresne via Freedos-devel <freedos-devel@lists.sourceforge.net> wrote:
>
> Thank you ECM for the infos!
>
> I think my build did not finished normally.
> After about 1h build time on my i3-8100, dosbox finished with:
> Object Modules [.OBJ]: MAP DMA
> Run file [MEM386.EXE]: EMM386.EXE
> ...
>     del emm386.sys
>     File emm386.sys not found
> D:\SRC
>
> At some point, was making some beeps while doing codepages.
> But was not seeing error messages then.
>
> Quite interesting that the release seems to include the build tools (masm + 
> assembler)
>
> I'll try to resume what I done:
>
> Using DOSBOX on Linux (Following Bryan Lunduke article)
>
> Installed DOSBOX
> git config --global core.autocrlf
> Note the value because we will temporarily break git
> git config --global core.autocrlf true
> cd
> git clone https://github.com/microsoft/MS-DOS.git
> git config --global core.autocrlf [previously noted value]

I think you can just break clone and checkout process into separated
commands, without changing git's global options (in windows git bash
prompt):
$ git clone -n https://github.com/microsoft/MS-DOS.git
Cloning into 'MS-DOS'...
remote: Enumerating objects: 1859, done.
remote: Counting objects: 100% (220/220), done.
remote: Compressing objects: 100% (123/123), done.
remote: Total 1859 (delta 104), reused 97 (delta 97), pack-reused 1639
Receiving objects: 100% (1859/1859), 117.41 MiB | 6.35 MiB/s, done.
Resolving deltas: 100% (288/288), done.
$ cd MS-DOS
$ git config core.autocrlf true
$ git checkout
Your branch is up to date with 'origin/main'.
$ cd v4.0
$ file LICENSE
LICENSE: ASCII text, with CRLF line terminators

> ... to fix git for future projects
> sed -i -re 's/\xEF\xBF\xBD|\xC4\xBF|\xC4\xB4/#/g' 
> MS-DOS/v4.0/src/MAPPER/GETMSG.ASM
> sed -i -re 's/\xEF\xBF\xBD|\xC4\xBF|\xC4\xB4/#/g' 
> MS-DOS/v4.0/src/SELECT/SELECT2.ASM
> sed -i -re 's/\xEF\xBF\xBD|\xC4\xBF|\xC4\xB4/#/g' 
> MS-DOS/v4.0/src/SELECT/USA.INF
>
> paul@fedora:~$ git diff MS-DOS/v4.0/src/SETENV.BAT MS-DOS/v4.0/src/SETENV2.BAT
> diff --git a/MS-DOS/v4.0/src/SETENV.BAT b/MS-DOS/v4.0/src/SETENV2.BAT
> index 0a67782..928044f 100644
> --- a/MS-DOS/v4.0/src/SETENV.BAT
> +++ b/MS-DOS/v4.0/src/SETENV2.BAT
> @@ -6,7 +6,7 @@ set MASM=
>  set COUNTRY=usa-ms
>  set BAKROOT=d:
>  rem BAKROOT points to the home drive/directory of the sources.
> -set LIB=%BAKROOT%\src\tools\lib
> +set LIB=%BAKROOT%\src\tools\bld\lib
>  set INIT=%BAKROOT%\src\tools
> -set INCLUDE=%BAKROOT%\src\tools\inc
> -set PATH=%BAKROOT%\src\tools
> +set INCLUDE=%BAKROOT%\src\tools\bld\inc
> +set PATH=%BAKROOT%\src\tools;%PATH%
> paul@fedora:~$
>
> dosbox
> mount d /home/paul/MS-DOS/v4.0
> keyb us
> (needed for me... because for me it pass to french keyboard)
> d:
> cd src
> SETENV2.BAT
> nmake
>
>
>
> _______________________________________________
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to