Subject | Re: [firebird-support] UDF ON MAC OS X |
---|---|
Author | mourad |
Post date | 2008-03-19T10:18:14Z |
Thank you Paul but when I excecute
gcc -o /Users/idriss/Projets/adhoc/adhoc/build/Debug/
FreeAdhocUDF.dylib -l /Users/idriss/Projets/adhoc/adhoc/build/Debug -
f /Users/idriss/Projets/adhoc/adhoc/build/Debug -f /Volumes/Dev/
Library/Frameworks -filelist /Users/idriss/Projets/adhoc/adhoc/build/
adhoc.build/Debug/adhoc.build/Objects-normal/ppc/adhoc.LinkFileList -
framework Firebird -arch ppc -bundle -flat_namespace -undefined suppress
I've this error : /usr/bin/ld: can't locate file for: -l/Users/idriss/
Projets/adhoc/adhoc/build/Debug
collect2: ld returned 1 exit status
Aloso the file FreeAdhocUDF.dylib is removed from Debug directory.
What is the matter ???
Le 19 mars 08 à 02:40, Paul Beach a écrit :
gcc -o /Users/idriss/Projets/adhoc/adhoc/build/Debug/
FreeAdhocUDF.dylib -l /Users/idriss/Projets/adhoc/adhoc/build/Debug -
f /Users/idriss/Projets/adhoc/adhoc/build/Debug -f /Volumes/Dev/
Library/Frameworks -filelist /Users/idriss/Projets/adhoc/adhoc/build/
adhoc.build/Debug/adhoc.build/Objects-normal/ppc/adhoc.LinkFileList -
framework Firebird -arch ppc -bundle -flat_namespace -undefined suppress
I've this error : /usr/bin/ld: can't locate file for: -l/Users/idriss/
Projets/adhoc/adhoc/build/Debug
collect2: ld returned 1 exit status
Aloso the file FreeAdhocUDF.dylib is removed from Debug directory.
What is the matter ???
Le 19 mars 08 à 02:40, Paul Beach a écrit :
> > Merci beaucoup de ton aide. J'ai analysé la commande de compilation[Non-text portions of this message have been removed]
> > et j'ai arrivé à la comprendre et remplacer les paths mais mon
> > problème maintenant c'est que je n'ai pu localiser le gcc. Voila la
> > commande que j'ai écrit :
> > /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
> > darwin8/4.0.1/include/gcc -o /Users/idriss/Projets/adhoc/adhoc/
> build/
> > Debug/FreeAdhocUDF.dylib -L /Users/idriss/Projets/adhoc/adhoc/build/
> > Debug -F /Users/pbeach/adhoc/adhoc/adhoc/build/Debug -F /Volumes/
> Dev/
> > Library/Frameworks -filelist /Users/idriss/Projets/adhoc/adhoc/
> build/
> > adhoc.build/Debug/adhoc.build/Objects-normal/ppc/
> adhoc.LinkFileList -
> > framework Firebird -arch ppc -mmacosx-version-min=10.4 -bundle -
> > flat_namespace -undefined suppress -isysroot /Developer/SDKs/
> > MacOSX10.4u.sdk
> >
> > Mais j'ai cette erreur : -bash: /Developer/SDKs/MacOSX10.4u.sdk/usr/
> > lib/gcc/powerpc-apple-darwin8/4.0.1/include/gcc: is a directory.
> > Je n'ai pas pu trouver un exécutable qui s'appelle gcc.
>
> En anglais parce que il est complique ...
>
> I was building on Leopard with backwards compatibility for Tiger.
> All you should need to do is the following:
>
> gcc -o /Users/idriss/Projets/adhoc/adhoc/build/Debug/
> FreeAdhocUDF.dylib
> -L /Users/idriss/Projets/adhoc/adhoc/build/Debug
> -F /idriss/Projets/adhoc/adhoc/build/Debug
> -F /Volumes/Dev/Library/Frameworks
> -filelist /Users/idriss/Projets/adhoc/adhoc/build/adhoc.build/Debug/
> adhoc.build/Objects-normal/ppc/adhoc.LinkFileList
> -framework Firebird -arch ppc -bundle -flat_namespace -undefined
> suppress
>
> Paul
>
> Paul Beach
> Tel (France): +33 (0) 2 47 58 30 43
> Mob (France): +33 (0) 6 79 24 32 32
>
>
>