[fpc-pascal] ICS/win32 status

2005-03-14 Thread Marco van de Voort
I fixed all remaining compilation problems with ICS/win32, and Francois Piette promptly included them in a new distribution. The current ICS distribution available on the website (www.overbyte.be) now should work unmodified on 1.9.8. Note that only the console demoes were ported for now. The de

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-14 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: If you want to take a look, I've put it on http://users.edpnet.be/~koenraad/www Okay, try this... In your ulinuxgnu300 directory, type: make clean make linux ar -r libonewire.a *.o ranlib libonewire.a And then move the resulting "libonewire.a" file into a directory

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-14 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: If you want to take a look, I've put it on http://users.edpnet.be/~koenraad/www Okay, try this... In your ulinuxgnu300 directory, type: make clean make linux ar -r libonewire.a *.o ranlib libonewire.a And then move the resulting "libonewire.a" file into a directory

[fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-14 Thread Jeff Pohlmeyer
> If you want to take a look, I've put it on > http://users.edpnet.be/~koenraad/www Okay, try this... In your ulinuxgnu300 directory, type: make clean make linux ar -r libonewire.a *.o ranlib libonewire.a And then move the resulting "libonewire.a" file into a directory where the link

[fpc-pascal] Interfacing to libraries written in C

2005-03-14 Thread Alain Michaud
Hi, I see many messages about linking libraries that were written in C language. I do it at run time. This message is for those that are not so familiar with linux system programming. Here is an exampe: Supose that I want to use the the function "ibdev" in the module "libgpib.so". From the fil

Re: [fpc-pascal] Check root privs

2005-03-14 Thread Michaÿffffb3 Woÿffff9fniak
> Normally, you can do getuid or geteuid to get the > user ID, > if it is zero, you know it's the root user. As simple as that, wow. :) Thanks Mike Send instant messages to your online friends http://uk.messenger.yahoo.com ___ fpc-pascal maillist -

Re: [fpc-pascal] Check root privs

2005-03-14 Thread Michael Van Canneyt
On Mon, 14 Mar 2005, [iso-8859-1] Michaÿb3 Woÿ9fniak wrote: Hi there. First of all, I am new here and would like to say "Hello" to all you guys on this list. Now the question: I am developing a simple program under Linux, that is to use RAW sockets. Therefore it *requires* root priviledges

[fpc-pascal] Check root privs

2005-03-14 Thread Michaÿffffb3 Woÿffff9fniak
Hi there. First of all, I am new here and would like to say "Hello" to all you guys on this list. Now the question: I am developing a simple program under Linux, that is to use RAW sockets. Therefore it *requires* root priviledges. Does anyone know how to check for them _before_ I get an AV tryin