Sign in Join

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

Mailing lists / fpc-devel / 2001-07

No changes to shared library code for linux

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Peter Vreman

I tested the current code for creating shared libraries under linux and it works correct. Also the parameters are passed to the library are working correct:

~>>> ./p fdsf fsd
Lib started!
ParamCount = 2
Paramstr(0) = /home/pfv/p
Paramstr(1) = fdsf
Paramstr(2) = fsd
Hello world!
Home: /home/pfv

I guess it's a glibc thing. I've glibc 2.2.3 installed and that works fine. I'm not gonna add hacks that will be removed in the future to support older glibcs.

Peter