How to make lame using djgpp
1) You need to download this files
1503 kB | DJGPP Basic Development Kit | |
2508 kB | Basic assembler, linker | |
1888 kB | Basic GCC compiler | |
263 kB | Make (processes makefiles) | |
979 kB | fileutils 3.16 for DJGPP V2 |
This files available local in one SFX solid rar archive, 3939 kB
2) Read instalation procedure: readme.1st. Install djgpp.
3) Download lame sources and untar.gz it (use WinRar or WinZip)
4) Modify lame's makefile:
lines 22, 23:BRHIST_SWITCH = LIBTERMCAP =in such way:
#BRHIST_SWITCH = #LIBTERMCAP =lines 318, 319:
%.d: %.c $(SHELL) -ec '$(CC) $(MAKEDEP) $(CPP_OPTS) $(CC_SWITCHES) $< | sed '\''s;$*.o;& $@;g'\'' > $@'in such way:
#%.d: %.c# $(SHELL) -ec '$(CC) $(MAKEDEP) $(CPP_OPTS) $(CC_SWITCHES) $< | sed '\''s;$*.o;& $@;g'\'' > $@'i.e. simply insert # at the beginings of these lines
4) Now just type:
make