Linux Demos: Programmer's Corner
This entire sub-domain is a private effort of free information.
There are no cookies, no advertisements, and nothing is for sale.
non-code Linux resources can be found here
- The information presented here is intended for educational use by qualified Linux programmers.
- The information presented here is provided free of charge, as-is, with no warranty of any kind.
- To the best of my knowledge, the programs presented here compile, link and run properly. Please send me an email if they
do not (I only support this stuff in my spare time).
Both the C and C++ programming languages are designed to be portable BUT I noticed that C applications written for other platforms
(Unix, Windows, OpenVMS) can't be moved to Linux with zero effort. This is especially true if moving from cc (c compile) to gcc
(gnu compiler collection). Hopefully the information provided here will help others.
||hello world in both 32 and 64 bits
||Linux finally has a system-wide lock manager with queuing
||Native 64-bit compiles are easy; 32-bit compiles are less so
||a few demo scripts to intercept then process email (coming soon)
||a helper application for use with procmail and munpack
||gmtclient.cpp (from the old currenttime demo in samples)
gmtserver.cpp (works from Apache cgi-bin without a plugin)
||calclient.c (from the old calc demo in samples)
- calcserver (works interactively or mod_gsoap for Apache-1.x)
- calcserver2 (works from Apache cgi-bin without a plugin)
- calcserver3.so (works from mod_gsoap for Apache-2.x)
|build Apache from sources
||how to build a second copy of Apache so you can build apxs
note: no need to build second Apache on Linux. Just type:
- apxs is a tool required to produce mod_gsoap.so
- apxs is a tool required to build calcserver3.so
"yum install httpd-devel.x86_64"
Back to Home
Waterloo, Ontario, Canada.