Hi Teo,

On Oct 4, 2009, at 11:23 AM, Teo Fonrouge wrote:

Hello [Victor],


Sorry, the name is Viktor, my stupid typo.

No prob, Victor is also fine :)

May be I overlooked something, but I'm unable to find an easy way (I want to use some flag parameter to the make command) to build the Harbour libs as i386 ones.

for i386 only:

export HB_USER_LDFLAGS=-arch i386
export HB_USER_CFLAGS=$(HB_USER_LDFLAGS)
export HB_COMPILER=gcc

or, for 10.5 Leopard Unibin:

export HB_USER_LDFLAGS=-arch i386 -arch ppc
export HB_USER_CFLAGS=$(HB_USER_LDFLAGS)
export HB_COMPILER=gcc

You can combine any -arch flags below:
-arch i386
-arch x86_64
-arch ppc
-arch ppc64

[ 'export HB_COMPILER=gcc' is needed on Snow Leopard
only to force gcc, since the default is clang there,
and clang doesn't support PPC arch anymore. ]

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to