Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-06

Creating librarys dont work ever with fpc 2.1.4

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Christian Ulrich

When i create an library template with Lazarus, dont save it and build it then an libproject1.so is created as expected in /tmp. Wen i save the same project and rebuild it, an project1 executable is created. with fpc 2.0.4 this creates always an lib as expected.

anybody an idea ? is this an bug or an feature ?

regards
Christian

Felipe Monteiro de Carvalho
to Christian Ulrich
Christian Ulrich wrote
When i create an library template with Lazarus, dont save it and build it then an libproject1.so is created as expected in /tmp. Wen i save the same project and rebuild it, an project1 executable is created. with fpc 2.0.4 this creates always an lib as expected.

To make it easy to isolate the problem, I would take the compiler options that lazarus uses (Compiler Options -> Show Options) and call fpc from the command line.

Felipe Monteiro de Carvalho