How to make lame using djgpp

1) You need to download this files

djdev203.zip

1503 kB DJGPP Basic Development Kit

bnu2951b.zip

2508 kB Basic assembler, linker

gcc2952b.zip

1888 kB Basic GCC compiler

mak379b.zip

263 kB Make (processes makefiles)

fil316b.zip

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
Сайт создан в системе uCoz