Hi, I'm on Intel Mac and trying to build pjproject-1.0.1 for both i386 and ppc platforms. Building for i386 is okay with ./configure && make dep && make. When I'm trying to configure for ppc, I'm getting this: $ ./configure --host=powerpc-apple-darwin9 CFLAGS="-arch ppc" aconfigure: WARNING: you should use --build, --host, --target checking build system type... powerpc-unknown-none checking host system type... powerpc-apple-darwin9 checking target system type... powerpc-unknown-none checking for powerpc-apple-darwin9-gcc... powerpc-apple-darwin9-gcc checking for C compiler default output file name... aconfigure: error: C compiler cannot create executables See `config.log' for more details. If I change configure to acounfigure with the same parameters, configuration runs to the end $ ./configure --host=powerpc-apple-darwin9 CFLAGS="-arch ppc" Then I run "make dep", and then "make" which stops with that: ranlib: file: ../lib/libpj-powerpc-apple-darwin9.a(pool_dbg.o) has no symbols powerpc-apple-darwin9-ranlib ../lib/libpj-powerpc-apple-darwin9.a make[2]: powerpc-apple-darwin9-ranlib: Command not found make[2]: *** [../lib/libpj-powerpc-apple-darwin9.a] Error 127 make[1]: *** [pjlib] Error 2 make: *** [all] Error 1 Then I'm editing build/rules.mak file as follows (changing one line): $ svn diff Index: build/rules.mak =================================================================== --- build/rules.mak (revision 2412) +++ build/rules.mak (working copy) @@ -77,7 +77,7 @@ $(LIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi $(AR) $(LIB) $(OBJS) - $(RANLIB) $(LIB) + $(RANLIB) -o $(LIB) $(OBJS) $(EXE): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) if test ! -d $(BINDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(BINDIR)),$(HOST_MKDIR)); fi And "make" runs till the end. Am I doing something wrong? Or what can I do not to edit rules.mak file evey time I'm switching the build system from i386 to ppc and vice versa? Best regards, Alexei