Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Compiler trigger en C sous Windows



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group