Message-ID: <399EC6ED.5C058F8D@hotmail.com> From: the Icefalcon Organization: Harumichi Otaku ... doko ni mo! X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Fun with make and glibc Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 101 Date: Sat, 19 Aug 2000 17:35:38 GMT NNTP-Posting-Host: 12.85.129.217 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc07-news.ops.worldnet.att.net 966706538 12.85.129.217 (Sat, 19 Aug 2000 17:35:38 GMT) NNTP-Posting-Date: Sat, 19 Aug 2000 17:35:38 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Okay ... Yes, I'm trying to get myself a DOS version of glibc. Actually, an i386-pc-none version, but :) I downloded bash so configure would work and finally determined that as my machine type. Now ... make is not being nice to me. It starts and then spits this out: ----------------------------> snip here <------------------------------- bash-2.03$ make Too many parameters - sysdeps (echo 'sysd-Makefile-sysdirs := sysdeps/standalone/i386 sysdeps/standalone sysde ps/i386/fpu sysdeps/libm-i387 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754 s ysdeps/libm-ieee754 sysdeps/generic sysdeps/stub'; \ for dir in sysdeps/standalone/i386 sysdeps/standalone sysdeps/i386/fpu sysdeps/ libm-i387 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754 sysdeps/libm-ieee754 sysdeps/generic sysdeps/stub; do \ file=$dir/Makefile; \ case $dir in \ /*) rel= ;; \ *) rel= ;; \ esac; \ if [ -f $rel$file ]; then \ case $dir in \ /*) echo include "$file" ;; \ *) echo include "\$(..)$file" ;; \ esac; \ else true; fi; \ done; \ echo 'sysd-Makefile-done=t') > sysdeps/../sysd-MakefileT Command line too long. make.exe: *** [sysdeps/../sysd-Makefile] Error -1 bash-2.03$ ----------------------------> snip here <------------------------------- The code in Makerules (included into Makefile) that seems to be causing the problem is this: ----------------------------> snip here <------------------------------- # Some sysdep makefiles use this to distinguish being included here from # being included individually by a subdir makefile (hurd/Makefile needs this). in-Makerules := yes ifndef avoid-generated -include $(+sysdir_pfx)sysd-Makefile ifneq ($(sysd-Makefile-sysdirs),$(config-sysdirs)) sysd-Makefile-force = FORCE FORCE: endif $(+sysdir_pfx)sysd-Makefile: $(+sysdir_pfx)config.make $(..)Makerules \ $(sysd-Makefile-force) -@rm -f $@T (echo 'sysd-Makefile-sysdirs := $(config-sysdirs)'; \ for dir in $(config-sysdirs); do \ file=$$dir/Makefile; \ case $$dir in \ /*) rel= ;; \ *) rel=$(..) ;; \ esac; \ if [ -f $$rel$$file ]; then \ case $$dir in \ /*) echo include "$$file" ;; \ *) echo include "\$$(..)$$file" ;; \ esac; \ else true; fi; \ done; \ echo 'sysd-Makefile-done=t') > $@T mv -f $@T $@ endif ----------------------------> snip here <------------------------------- However, commenting out the backslashes gives this: ----------------------------> snip here <------------------------------- bash-2.03$ make Makerules:120: *** commands commence before first target. Stop. bash-2.03$ ----------------------------> snip here <------------------------------- So ... if I leave the code as is it croaks. If I modify it to change that appears to be the problem it croaks. I tried putting it all on one line and it's 324 charas ... and I don't think I can get it below 255; I certainly don't have the shell programming knowledge to create an equivalent, shorter version. I've uploaded makefile and makerules here: http://kourino.otakuwars.org/Makefile http://kourino.otakuwars.org/Makerules http://kourino.otakuwars.org/Makeconfig And I'm just invoking make with no arguments. Please, any help that you can give me would be greatly appreciated! -- -|-E the Icefalcon