Skip to content

wolfpython/apue.3e.netbsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##README for NetBSD

  1. NetBSD 6 & 7 seems not have _SC_XOPEN_VERSION, defined it manually

    #define _SC_XOPEN_VERSION 9
  2. getenv_r is in stdlib.h,so comment it out

  3. as far as cmsgcred(freebsd) is concernd, netbsd has sockcred.

  4. AI_V4MAPPED and AI_ALL are not available on netbsd,comment it out.

  5. netbsd doesn't support pthread_mutex_timedlock in pthread lib, we do not build timedlock.c

  6. define 2 macros(NETBSD and _NETBSD_SOURCE) in makefile to distinguish from other OSes and support u_char

  7. add a new Makefile.defines.netbsd file

How to build

We need gmake on netbsd.

    $ pkgin install gmake
    $ gmake

Origin README part

Read the file called DISCLAIMER.

On Freebsd and NetBSD, type "gmake". On other platforms, type "make" (as long as this is gnu make).

For FAQs, updated source code, and the lost chapter, see http://www.apuebook.com. Please direct questions, suggestions, and bug reports to [email protected].

Steve Rago January 2013

About

apue3e port on netbsd(6,7)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published