From: Zach Moazeni Date: 2006-01-26T17:39:32+09:00 Subject: Compiling 1.8.4 with djgpp --------------070501090206050906050504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I'm rather stubborn when something like this doesn't work, but I'm coming close to just using 1.8.2 with the click install for windows... so I'm just going to ask here first. I'm trying to compile Ruby 1.8.4 on Windows XP with djgpp. I believe I have all of the required files for djgpp, and this is my sequence of events. unzip ruby sources. cd into ruby_src directory type djgpp\configure.bat type make this is where I have the problem. I get this error message back from make: "make.exe: Nothing to be done for 'all'". I'm not too sure what to make of this, has anyone else had this problem? Is the configure.bat not generating the correct file? Do I have djgpp not installed correctly? Here's my configuration: djgpp: - bnu2161b.zip - bsh204b.zip - djdev203.zip - faq230b.zip - gcc401b.zip - gdb611b.zip - gpp401b.zip - mak3791b.zip - sed414b.zip - txi48b.zip Attached is the Makefile that is generated. Like I said in the beginning, I could be lazy and just use the 1 click installer...but I'm determined to compile 1.8.4 on windows. I would appreciate any and all help anyone can provide. Thanks in advance, -Zach --------------070501090206050906050504 Content-Type: text/plain; name="Makefile" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile" SHELL = $(COMSPEC) #### Start of system configuration section. #### srcdir = . VPATH = $(srcdir):$(srcdir)/missing CC = gcc YACC = bison -y PURIFY = AUTOCONF = autoconf MKFILES = Makefile prefix = /dev/env/DJDIR exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec datadir = ${prefix}/share arch = i386-msdosdjgpp sitearch = i386-msdosdjgpp sitedir = ${prefix}/lib/ruby/site_ruby TESTUI = console TESTS = RDOCTARGET = @RDOCTARGET@ EXTOUT = @EXTOUT@ RIDATADIR = $(DESTDIR)$(datadir)/ri/$(MAJOR).$(MINOR)/system empty = OUTFLAG = -o $(empty) CFLAGS = -Os @ARCH_FLAG@ CPPFLAGS = -I. -I$(srcdir) LDFLAGS = $(CFLAGS) EXTLDFLAGS = XLDFLAGS = -L. $(EXTLDFLAGS) EXTLIBS = LIBS = -lm $(EXTLIBS) MISSING = crypt.o flock.o vsnprintf.o LDSHARED = ld DLDFLAGS = $(EXTLDFLAGS) @ARCH_FLAG@ SOLIBS = MAINLIBS = MINIOBJS = @MINIOBJS@ RUBY_INSTALL_NAME=ruby RUBY_SO_NAME=$(RUBY_INSTALL_NAME) EXEEXT = .exe PROGRAM=$(RUBY_INSTALL_NAME)$(EXEEXT) RUBY = $(RUBY_INSTALL_NAME) MINIRUBY = ./miniruby RUNRUBY = @RUNRUBY@ #### End of system configuration section. #### MAJOR= 1 MINOR= 7 TEENY= 3 LIBRUBY_A = lib$(RUBY_INSTALL_NAME).a LIBRUBY_SO = lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR).$(TEENY) LIBRUBY_ALIASES= lib$(RUBY_SO_NAME).so LIBRUBY = $(LIBRUBY_A) LIBRUBYARG = -l$(RUBY_INSTALL_NAME) LIBRUBYARG_STATIC = @LIBRUBYARG_STATIC@ LIBRUBYARG_SHARED = @LIBRUBYARG_SHARED@ PREP = ARCHFILE = SETUP = EXTSTATIC = RM = rm -f NM = AR = ar ARFLAGS = rcu RANLIB = ranlib OBJEXT = o MANTYPE = @MANTYPE@ #### End of variables all: .DEFAULT: all # Prevent GNU make v3 from overflowing arg limit on SysV. .NOEXPORT: miniruby$(EXEEXT): @$(RM) $@ $(PURIFY) $(CC) $(MAINOBJ) $(MINIOBJS) $(LIBRUBY_A) $(LIBS) $(OUTFLAG)$@ $(LDFLAGS) $(MAINLIBS) $(PROGRAM): @$(RM) $@ $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) $(OUTFLAG)$@ # We must `rm' the library each time this rule is invoked because "updating" a # MAB library on Apple/NeXT (see --enable-fat-binary in configure) is not # supported. $(LIBRUBY_A): @$(RM) $@ $(AR) $(ARFLAGS) $@ $(OBJS) $(DMYEXT) @-$(RANLIB) $@ $(LIBRUBY_SO): $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(SOLIBS) $(OUTFLAG)$@ @-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link if File.exist? link; \ File.symlink "$(LIBRUBY_SO)", link}' \ $(LIBRUBY_ALIASES) fake.rb: Makefile @echo ' \ class Object; \ CROSS_COMPILING = RUBY_PLATFORM; \ remove_const :RUBY_PLATFORM; \ remove_const :RUBY_VERSION; \ RUBY_PLATFORM = "i386-msdosdjgpp"; \ RUBY_VERSION = "1.7.3"; \ end; \ if RUBY_PLATFORM =~ /mswin|bccwin|mingw/; \ class File; \ remove_const :ALT_SEPARATOR; \ ALT_SEPARATOR = "\\"; \ end; \ end; \ ' > $@ Makefile: $(srcdir)/Makefile.in $(MKFILES): config.status $(srcdir)/common.mk MAKE=$(MAKE) $(SHELL) ./config.status @{ \ echo "all:; -@rm -f conftest.mk"; \ echo "conftest.mk: .force; @echo AUTO_REMAKE"; \ echo ".force:"; \ } > conftest.mk || exit 1; \ $(MAKE) -f conftest.mk | grep '^AUTO_REMAKE$$' > nul || \ { echo "Makefile updated, restart."; exit 1; } lex.c: keywords @-$(RM) $@ gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@ || \ cp "$(srcdir)/$@" . .y.c: $(YACC) $< sed '/^#/s|y\.tab\.c|$@|' y.tab.c > $@ rm -f y.tab.c .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< clean-local:: @$(RM) ext/extinit.c ext/extinit.$(OBJEXT) distclean-local:: @$(RM) ext/config.cache $(RBCONFIG) ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -o$@ -c ext/extinit.c --------------070501090206050906050504--