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
Caveat:
  1. The information presented here is intended for educational use by qualified Linux programmers.
  2. The information presented here is provided free of charge, as-is, with no warranty of any kind.
  3. 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).
Updated: 2021-12-24

Introduction

Both the C and C++ programming languages are designed to be portable BUT I noticed that 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. 

General

File Notes
hello_linux_world.c every website has one of these
flock.c Linux finally has a system-wide lock manager with queuing
procmail a few demo scripts to intercept then process email
sequencer.c a help app for use with procmail and munpack

gSOAP

File Notes
gmtserver.cpp gmtclient.cpp (from the old currenttime demo in samples)
gmtserver.cpp (works from Apache cgi-bin without a plugin)
calcserver.c calclient.c (from the old calc demo in samples)
calcserver.c
  • 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 building a second copy of Apache so you can build apxs
apxs is a tool required to produce mod_gsoap.so
apxs is a tool required to build calcserver3.so

Back to Home
Neil Rieck
Waterloo, Ontario, Canada.