bmstu-iu9 / bmstu-iu9/refal-5-lambda

Сборка под DOS с помошью DJGPP

Open
#178 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
97
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Я попытался собрать данный компилятор Рефала под DOS используя DJGPP - компиляция останавливается на этапе генерации srefc-core.exe

файл ``rasl-appender\_rasl-appender.exe`` успешно компилируется сборочным скриптом, но с таким именем он почему-то не вызывается (видимо сказываются какие-то внутренние ограничения на длину имени самого DJGPP)
поэтому в файл bootstrap.bat были внесены такие правки
```bat
@echo off
setlocal
mkdir bin >NUL 2>NUL
call scripts\load-config.bat || exit /b 1

%CPPLINEE%raslap\raslap.exe raslap\raslap.cpp
...
```
Скриншоты:
![ref1](https://user-images.githubusercontent.com/4210789/46440145-320de680-c76b-11e8-84e5-1a3fd8fec49f.png)
![ref2](https://user-images.githubusercontent.com/4210789/46440148-34704080-c76b-11e8-8157-551294fe4cb4.png)
Компилятор жалуется, что не может найти точку входа (main функцию) и поэтому отказывается собирать

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the DOS build with DJGPP using bootstrap.bat and scripts/load-config.bat. Inspect the raslap/raslap.cpp build step and the generation of srefc-core.exe, including the rasl-appender_rasl-appender.exe naming noted in the report. Done means the bootstrap build completes without the missing-main or entry-point error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.