Re: Not *quite* there on ecpg fixes
От | Alvaro Herrera |
---|---|
Тема | Re: Not *quite* there on ecpg fixes |
Дата | |
Msg-id | 20071004163529.GQ6176@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Not *quite* there on ecpg fixes (Michael Meskes <meskes@postgresql.org>) |
Ответы |
Re: Not *quite* there on ecpg fixes
|
Список | pgsql-hackers |
Michael Meskes wrote: > On Thu, Oct 04, 2007 at 10:04:41AM -0400, Alvaro Herrera wrote: > > It looks like dlltool does not like the .def file: > > ... > > Line 3 of that file is unadorned "EXPORTS": > > > > echo '; DEF file for MS VC++' > libpgtypesdll.def > > echo 'LIBRARY LIBPGTYPES' >> libpgtypesdll.def > > echo 'EXPORTS' >> libpgtypesdll.def > > ... > > I wonder why the dlltool failure is not causing the build to fail > > immediately? > > These lines are simply copied from libpq/Makefile but ddltool does not > complain while working on libpq. Any idea where they differ? The libpq exports.txt has spaces, not tabs, as separators. In fact, if you see the .def files you notice that the generated files for ecpg are all wrong. Simplest is to change tabs to spaces ... However I'm thinking that maybe it's better to change the sed line to consider both spaces and tabs in the regex. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления: