File: COMPILE.NOTES

package info (click to toggle)
vfu 5.09-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,552 kB
  • sloc: cpp: 16,739; ansic: 2,605; perl: 678; makefile: 349; sh: 75
file content (50 lines) | stat: -rw-r--r-- 1,335 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

  This file contains some misc notes...

  -- For Debian/Devuan you need to:
  
     apt-get install make gcc g++ libpcre3-dev libncurses5-dev
     
     then run 'make' in vfu base directory

  -- If you try to compile vfu under NetBSD:
 
     try to use `build.netbsd'...
     If you fail to compile it try one of:
     1. get newer vfu version at https://cade.noxrun.com/projects/vfu
     2. mailto: Hubert Feyrer <hubertf@netbsd.org>
        Hubert Feyrer is official VFU maintainer for NetBSD platform.
     3. mailto: Vladi Belperchinov-Shabanski <cade@biscom.net>

  -- If you want to compile vfu static binary:
     1. cd vfu
     2. make LDDEF=-static
        voila! :)
 
  -- How to compile VFU for other UNIX platform?

  You have to edit vslib/target.h file and to add these lines
  just before `#ifndef _TARGET_DESCRIPTION_' line:
  (I'll give example as if the new target is RS6000)
 
  ---cut---
  #ifdef _TARGET_UNKNOWN_
    #if defined(__RS6000__)
    #define _TARGET_RS6000_
    #define _TARGET_DESCRIPTION_  "UNIX/RS6000"
    #undef _TARGET_UNKNOWN_
    #endif
  #endif
  ---cut---
 
  and start make:
 
  make CCDEF=-D__RS6000__
 
  in both vslib and vfu directories
 
  VFU should compile without big problems on any UNIX (hope so:))
 
  P! Vladi.
  Vladi Belperchinov-Shabanski <cade@bis.bg> <cade@noxrun.com>