Hi RTL/libc experts.
I'm trying top port the TNoGUIApplication (Linux version) I found in
MSEIDE to Lazarus.
Here Martin uses a function called m_sigprocmask. In his code in
mselibc.pas it is defined as
function m_sigprocmask(__how:longint; var SigSet : TSigSet;
var oldset:
On Wednesday 20 January 2010 12:29:58 Michael Schnell wrote:
When I try to define the functionFpsigprocmask in that way myself I
get some type conflicts when calling it with Martin's code. (I'll try to
solve this when I am able to point it to the proper RTL function.
You can use the minimal
I found that the correct libc.pp function name of course (silly me) is
just sigprocmask without any prefix. Now this part does compile
Thanks,
-Michael
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
On 01/20/2010 12:59 PM, Martin Schreiber wrote:
You can use the minimal MSEgui libc bindings in lib/common/kernel/mselibc.pas.
They work for i386-linux and x86_84-linux and can be ported to other systems
too if necessary.
I did this with the first step (no testing, just trying to get the
Do you see any problems with using the libc function defined in the RTL
libc.pp ?
-Michael
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
On Wed, 20 Jan 2010, Michael Schnell wrote:
Do you see any problems with using the libc function defined in the RTL
libc.pp ?
You should not use it. It's linux-x86 only, and meanwhile quite outdated.
It's definitely not maintained to match the latest libc.
Michael.
I have a problem with the new 240 compiler.
I get errors when calling functions in the sysutils unit.
I have tested the 251 compiler, and it was exactly the same.
I am normally using the 224 compiler, and it works fine.
Anybody have a hint.
I have compiled and the tested the MySql client lib to
On 01/20/2010 02:12 PM, Michael Van Canneyt wrote:
You should not use it.
Martin, why is your code better ?
I don't see the difference. You just seem to have used the same coder as
in libc.pp in your own source file
-Michael
___
fpc-devel
In our previous episode, Martin Schreiber said:
[ Charset ISO-8859-1 unsupported, converting... ]
On Wednesday 20 January 2010 17:54:33 Michael Schnell wrote:
On 01/20/2010 02:12 PM, Michael Van Canneyt wrote:
You should not use it.
Martin, why is your code better ?
I don't see the
On Wednesday 20 January 2010 21:22:10 Marco van de Voort wrote:
That's still no reason to not use the supported routines. One can even
simply recompile the RTL to have the normal routines use libc (a feature
that is in production for e.g. OS X)
I trust more in libc than in FPC routines, libc
10 matches
Mail list logo