From: Martin Str|mberg Message-Id: <199807042204.AAA01315@sister.ludd.luth.se> Subject: Trying to compile v2/alphas/980628/djlsr202.zip natively To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS) Date: Sun, 5 Jul 1998 00:04:19 +0200 (MET DST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk I'm having some troubles compiling v2/alphas/980628/djlsr202.zip natively: 1. Where is libc/compat/stdio/vfscanf.c? 2. I'm using gcc281b.zip, so this happens: ld -s ../../../lib/crt0.o symify.o ../../../lib/libdbg.a ../../../lib/libc.a -o ../../../bin/symify.exe ../../../lib/libgcc.a -T ../../../lib/djgpp.djl E:/DJGPP.202/BIN/ld.exe: cannot open ../../../lib/libgcc.a: No such file or directory (ENOENT) as libgcc.a lives in ..../../lib/gcc-lib/djgpp/2.81. How should this really be setup to be portable? 3. After a while the making stops because it don't know how to make makefile.oh. I corrected this by changing top level makefil.inc from: "all :: $(OBJS) $(EXTRA_OBJS) $(EXTRA_FILES) makefile.oh $(NOP) ifneq ($(MAKEFILE_LIB),1) makefile.oh : makefile @$(MISC) echo - building new response file @$(MISC) echo makefile.oh $(addprefix \&/,$(OBJS)) endif" to: "all :: $(OBJS) $(EXTRA_OBJS) $(EXTRA_FILES) $(NOP) ifneq ($(MAKEFILE_LIB),1) all :: makefile.oh makefile.oh : makefile @$(MISC) echo - building new response file @$(MISC) echo makefile.oh $(addprefix \&/,$(OBJS)) endif" That's about line 79. I think this is right, please tell me if it isn't. 4. Later on this: makemake: scanning libemu for object files make ./../../lib/libemu.a make.exe[2]: `../../lib/libemu.a' is up to date. ./../../hostbin/dxegen.exe ./../../bin/emu387.dxe __emu_entry src/emu387.o id_emu.o src/emudummy.o -L../../lib -L../../lib/gcc-lib/djgpp/2.81 -lgcc -lc -lgcc ld -X -S -r -o dxe__tmp.o -Le:/djgpp.202/lib src/emu387.o id_emu.o src/emudummy.o -L../../lib -L../../lib/gcc-lib/djgpp/2.81 -lgcc -lc -lgcc -T dxe.ld Error: input file has more than one section; use -M for map make.exe[1]: *** [../../bin/emu387.dxe] Error 1 Ughh! What to do now? Dead Can Dance, Within the Realm of a Dying Sun, MartinS