I tried to compile recode on a PowerPC G4, using
./configure --prefix=/sw --host=powerpc
This failed as
gcc -DLIBDIR=\"/sw/lib\" -DHAVE_CONFIG_H -I.. -I. -I../lib
-I../libiconv -g -O2 -c argmatch.c -o argmatch.o
argmatch.c:33:22: libintl.h: No such file or directory
Although the configure help stated that the search path
would include
$prefix/include, it did not do so. After adding
INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/lib
-I/sw/include
-I$(top_srcdir)/libiconv
^^^^^^^^^^^^^
to src/Makefile, the compilation passed perfectly.
However, I don't know whether you want to add Mac OSX
support:
HOSTTYPE=powerpc
OSTYPE=darwin7.0
MACHTYPE=powerpc-apple-darwin7.0
(MacOS 10.3.8, gcc version 3.3 20030304 (Apple
Computer, Inc. build
1495))