Can someone put a simple concrete example of using a linux C library (any library) using PB. I have never been able to do this though I have tried. I constantly get errors of various kinds, mostly the libraries are not accessed (read). Something simple where you access the library, pull out and us a routine, and close it.
Thanks for any help,
John
Accessing C libraries with pb under linux
-
John Duchek
- User

- Posts: 83
- Joined: Mon May 16, 2005 4:19 pm
- Location: St. Louis, MO
Accessing C libraries with pb under linux
John R. Duchek
St. Louis,MO
St. Louis,MO
-
John Duchek
- User

- Posts: 83
- Joined: Mon May 16, 2005 4:19 pm
- Location: St. Louis, MO
Re: Accessing C libraries with pb under linux
wow, 79 reads and no replies. Does this mean one cannot access C libraries under linux with pb?
John R. Duchek
St. Louis,MO
St. Louis,MO
Re: Accessing C libraries with pb under linux
i think using libs is the same under all three OS (in terms of Purebasic source code), just with different .lib files of course for PE, Mach and ELF architecture. If you search the Linux subforum for "ImportC" youll see quite a few examples
