Le 10/02/06, Olivier Peaucelle Synthèse
Graphique<opeaucelle(at)synthesegraphique(dot)com> a écrit :
> Du coup, j'ai modifié la ligne de commande en :
>
> $ gcc -shared -o pstypes.dll -WI -dy --library-path/E/lib/ -l libpq.a
> --out-implib XXX.o
>
> et j'obtiens :
>
> c:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
> cannot find -llibpq.a
> collect2: ld returned 1 exit status
il faut que tu lui indiques où se trouve libpq.a
--
Jean-Max Reymond
CKR Solutions Open Source
Nice France
http://www.ckr-solutions.com