There used to be a DOS configure’d source. Otherwise I think you need to run a pre-script (fix.bat or fix.sh) to get it to compile with makefile.dj , iirc. You’ll also run into issues with the assembly if you run a much newer nasm, gcc and binutils against it. Not a hard fix but you will need some previous experience here. Below is a doc in allegro format (like a predecessor to markdown) that describes how to fix, configure and build the source.
https://github.com/liballeg/allegro5/blob/4.2/docs/src/build/djgpp._tx On Sat, Nov 9, 2024 at 11:15 PM Paul Dufresne via Freedos-devel < freedos-devel@lists.sourceforge.net> wrote: > Was thinking about recompiling Allegro... but whatever source for allegro > 4.2 I get like: > https://github.com/liballeg/allegro5/releases/download/v4-2-3-1/all4231.zip > or > > https://github.com/liballeg/allegro5/releases/download/v4-2-3-1/allegro-4.2.3.1.tar.gz > (Tried in FreeDOS and with a Linux GCC cross-compiler) > when I call make: > makefile.all:248: *** recipe commences before first target. Stop. > Thought reporting it to allegro but that old version is not supported > anymore. > 248 would be thel line with: -$(RM_CLEAN) > Trying to ask here if someone would know. > > clean: > ifdef UNIX_TOOLS > -rm $(RM_OPTS) $(OBJ_CLEAN_FILES) > -rm $(RM_OPTS) $(OTHER_CLEAN_FILES) > else > define RM_CLEAN > $(foreach file, $(wildcard $(OBJ_CLEAN_FILES)), -del $(subst > /,\,$(file)) > ) > $(foreach file, $(wildcard $(OTHER_CLEAN_FILES)), -del $(subst > /,\,$(file)) > ) > endef > -$(RM_CLEAN) > endif > > distclean: clean > > > > _______________________________________________ > 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