Hi Przemek,
/usr/bin/../libexec/gcc/darwin/ppc64/as: Flag option -o has already
been seen!
/usr/bin/../libexec/gcc/darwin/x86_64/as: Flag option -o has already
been seen!
--
There is one such line for each -arch flag and for each file
compiled.
I'm afraid I cannot help you here.
Please make some test with gcc and -o<file> option with and without
space before <file>. If additional space resolves the problem then
try to add space after = in config/darwin/gcc.cf[16]:
CC_OUT = -o
Okay this fully eliminated the error.
I've attached the now clean list of errors, as it
contains some stuff which may need to be fixed.
(regarding libhbextern and libhbfm maybe)
--- my starter script
#!/bin/bash
export HB_ARCHITECTURE=darwin
export HB_COMPILER=gcc
export C_USR="-arch i386 -arch ppc"
export L_USR="-arch i386 -arch ppc"
#if [ -z "$HB_GT_LIB" ]; then export HB_GT_LIB=gttrm; fi
#if [ -z "$HB_BIN_INSTALL" ]; then export HB_BIN_INSTALL=$PREFIX/bin; fi
#if [ -z "$HB_LIB_INSTALL" ]; then export HB_LIB_INSTALL=$PREFIX/lib/
harbour; fi
#if [ -z "$HB_INC_INSTALL" ]; then export HB_INC_INSTALL=$PREFIX/
include/harbour; fi
. `dirname $0`/make_tgz.sh $*
---
--- stderr
libtool: for architecture: i386 file: hbwince.o has no symbols
libtool: for architecture: ppc file: hbwince.o has no symbols
libtool: for architecture: i386 file: gtkbstat.o has no symbols
libtool: for architecture: i386 file: gtkeycod.o has no symbols
libtool: for architecture: i386 file: gttone.o has no symbols
libtool: for architecture: i386 file: browdbx.o has no symbols
libtool: for architecture: ppc file: gtkbstat.o has no symbols
libtool: for architecture: ppc file: gtkeycod.o has no symbols
libtool: for architecture: ppc file: gttone.o has no symbols
libtool: for architecture: ppc file: browdbx.o has no symbols
libtool: for architecture: i386 file: ctnet.o has no symbols
libtool: for architecture: i386 file: ctset.o has no symbols
libtool: for architecture: i386 file: video.o has no symbols
libtool: for architecture: ppc file: ctnet.o has no symbols
libtool: for architecture: ppc file: ctset.o has no symbols
libtool: for architecture: ppc file: video.o has no symbols
In file included from ../../hbsqlit3.c:45:
../../sqlite3/sqlite3.c: In function â__full_fsyncâ_t:
../../sqlite3/sqlite3.c:19843: warning: unused parameter â__dataOnlyâ_t
In file included from ../../hbsqlit3.c:45:
../../sqlite3/sqlite3.c: In function â__full_fsyncâ_t:
../../sqlite3/sqlite3.c:19843: warning: unused parameter â__dataOnlyâ_t
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbcommon.a(hbwince.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbcommon.a(hbwince.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbrtl.a(gtkbstat.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbrtl.a(gtkeycod.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbrtl.a(gttone.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbrtl.a(browdbx.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbrtl.a(gtkbstat.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbrtl.a(gtkeycod.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbrtl.a(gttone.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbrtl.a(browdbx.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(ctnet.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(ctset.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(video.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(ctnet.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(ctset.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(video.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(ctnet.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(ctset.o) has no symbols
ranlib: for architecture: i386 file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(video.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(ctnet.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(ctset.o) has no symbols
ranlib: for architecture: ppc file: /var/folders/zE/zEKVnguu2RW3OE
+BYw4Bx++++TI/-Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/
libhbct.a(video.o) has no symbols
ar: /var/folders/zE/zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/
harbour.bin.vszakats.76256/usr/local/lib/harbour/libhbextern.a is a
fat file (use libtool(1) or lipo(1) and ar(1) on it)
ar: /var/folders/zE/zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/
harbour.bin.vszakats.76256/usr/local/lib/harbour/libhbextern.a:
Inappropriate file type or format
ranlib: archive library: /var/folders/zE/zEKVnguu2RW3OE+BYw4Bx++++TI/-
Tmp-//harbour.bin.vszakats.76256/usr/local/lib/harbour/libhbfm.a will
be fat and ar(1) will not be able to operate on it
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbcommon.a(hbwince.o) (for architecture i386)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbcommon.a(hbwince.o) (for architecture ppc)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbct.a(ctnet.o) (for architecture i386)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbct.a(ctset.o) (for architecture i386)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbct.a(video.o) (for architecture i386)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbct.a(ctnet.o) (for architecture ppc)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbct.a(ctset.o) (for architecture ppc)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbct.a(video.o) (for architecture ppc)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbrtl.a(gtkbstat.o) (for architecture i386)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbrtl.a(gtkeycod.o) (for architecture i386)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbrtl.a(gttone.o) (for architecture i386)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbrtl.a(browdbx.o) (for architecture i386)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbrtl.a(gtkbstat.o) (for architecture ppc)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbrtl.a(gtkeycod.o) (for architecture ppc)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbrtl.a(gttone.o) (for architecture ppc)
strip: input object file stripped: /private/var/folders/zE/
zEKVnguu2RW3OE+BYw4Bx++++TI/-Tmp-/harbour.bin.vszakats.76256/usr/local/
lib/harbour/libhbrtl.a(browdbx.o) (for architecture ppc)
ld: library not found for -lharbour
collect2: ld returned 1 exit status
ld: library not found for -lharbour
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/zE/zEKVnguu2RW3OE+BYw4Bx+++
+TI/-Tmp-//ccpvY1d2.out (No such file or directory)
make[1]: *** [hbmake] Error 1
make: *** [descend] Error 2
ld: library not found for -lharbour
collect2: ld returned 1 exit status
ld: library not found for -lharbour
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/zE/zEKVnguu2RW3OE+BYw4Bx+++
+TI/-Tmp-//ccqcH8FJ.out (No such file or directory)
make[1]: *** [hbrun] Error 1
make: *** [descend] Error 2
ld: library not found for -lharbour
collect2: ld returned 1 exit status
ld: library not found for -lharbour
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/zE/zEKVnguu2RW3OE+BYw4Bx+++
+TI/-Tmp-//ccR4VtI0.out (No such file or directory)
make[1]: *** [hbdoc] Error 1
make: *** [descend] Error 2
ld: library not found for -lharbour
collect2: ld returned 1 exit status
ld: library not found for -lharbour
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/zE/zEKVnguu2RW3OE+BYw4Bx+++
+TI/-Tmp-//ccRUMdYH.out (No such file or directory)
make[1]: *** [hbtest] Error 1
make: *** [descend] Error 2
---
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour