Part1 - Part2 - Part3 - Part4 - Part5 - Single Page

Top Document: comp.unix.aix Frequently Asked Questions (Part 3 of 5)
Previous Document: 2.01: I cannot make alloca work
Next Document: 2.03: Isn't the linker different from what I am used to?


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

2.02: How do I compile my BSD programs?


The file /usr/lpp/bos/bsdport contains information on how to port
programs written for BSD to AIX 3.  This file may be very useful for
others as well.

A quick cc command for most "standard" BSD programs is:
  
  $ cc -D_BSD -D_BSD_INCLUDES  -o [loadfile] [sourcefile.c] -lbsd

If your software has system calls predefined with no prototype
parameters, also use the -D_NO_PROTO flag.



Top Document: comp.unix.aix Frequently Asked Questions (Part 3 of 5)
Previous Document: 2.01: I cannot make alloca work
Next Document: 2.03: Isn't the linker different from what I am used to?

Part1 - Part2 - Part3 - Part4 - Part5 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
bofh@mail.teleweb.pt (Jose Pina Coelho)

Last Update May 13 2007 @ 00:21 AM