Re: [INTERFACES] Error linking C++ code.
| От | Michael Meskes |
|---|---|
| Тема | Re: [INTERFACES] Error linking C++ code. |
| Дата | |
| Msg-id | 19990504084527.A1698@gmx.net обсуждение исходный текст |
| Ответ на | Error linking C++ code. (barreiro@arrakis.es) |
| Ответы |
Re: [INTERFACES] Error linking C++ code.
|
| Список | pgsql-interfaces |
On Mon, May 03, 1999 at 10:09:32PM +0200, barreiro@arrakis.es wrote: > gcc -c -o lml.o lml_prueba.cc -I/usr/include/g++ -I/usr/include/pgsql > -L/usr/lib/pgsql -lpq -lpq++ -lstdc++ Hmm, this command line is kind of strange. First of all the c++ compiler is named g++ not gcc. Then it seems you only want to compile and link the code (hence the -c) but why do you give linker options (-l*)? Anyway, I removed the -c option on my system (PostgreSQL 6.4.2 and egcc 1.1.2) and it works nicely. Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael.Meskes@gmx.net | Use PostgreSQL!
В списке pgsql-interfaces по дате отправления: