~ubuntu-branches/ubuntu/precise/judy/precise

« back to all changes in this revision

Viewing changes to README

  • Committer: Bazaar Package Importer
  • Author(s): Troy Heber
  • Date: 2007-05-21 15:07:50 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070521150750-khuc7e3iblyvi0a9
Tags: 1.0.5-1
* Fixed alignment issue, (Closes: #401124)
* Update packaging, policy, debhelper, etc.
* Removed old BIT cruft from rules
* Upstream has propper distclean target (Closes: #424425)

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
Judy is now based on the GNU Auto tools. This means that you can do the standard
71
71
configure, make, make check and make install and everything should work, with
72
 
one minor differnece and a little caviot. 
 
72
one minor difference and a little caveat. 
73
73
 
74
 
Judy is capiable of being built as a 32-bit or a 64-bit library. Therefor you
75
 
need to tell Judy what you want. You MUST run configure with one of the
76
 
following flags:
 
74
Judy is capable of being built as a 32-bit or a 64-bit library. Configure
 
75
will test to detect the native environment and default to that. Therefor if you
 
76
explicitly want to to compile for the non-native environment you need to tell
 
77
Judy what you want. You can run ./configure with one of the following flags:
77
78
          
78
79
          --enable-32-bit 
79
80
          --enable-64-bit 
80
81
 
81
 
If your compiler generates 32-bit code by default, such as x86, and you run
82
 
configure with --enable-32-bit, your done. You can now run make, make check and
83
 
make install.  
84
 
 
85
 
If your compiler generates 64-bit code by default, such as Linux IA-64, and you
86
 
run configure with --enable-64-bit, your done. You can now run make, make check
87
 
and make install.  
88
 
 
89
 
The caviot comes in on machines that support both at 32-bit and 64-bit runtime
 
82
The caveat comes in on machines that support both at 32-bit and 64-bit runtime
90
83
environments such as RISC platforms and x86-64. In this case your compiler will
91
84
either use 32-bit or 64-bit as default. If you plan to use the default you can
92
85
follow the above instructions and be finished. 
93
86
 
94
87
However, if you wish to compile for the non-default target type. YOU ARE
95
 
RESPONSIABLE FOR SETTING THE CORRECT FLAGS! Such as CFLAGS to make your compiler
 
88
RESPONSIBLE FOR SETTING THE CORRECT FLAGS! Such as CFLAGS to make your compiler
96
89
switch modes LDFLAGS to make your linker behave, etc. 
97
90
 
98
91
For example: On HP-UX PA-RISC the compiler generates 32-bit code by default. If
99
 
I wish to stick with the defautls I can build Judy by: 
100
 
   ./configure --enable-32-bit
 
92
I wish to stick with the defaults I can simply build Judy by: 
 
93
   ./configure
101
94
   make
102
95
   make check
103
96
   make install 
108
101
   make check 
109
102
   make install 
110
103
 
 
104
If I want to build Judy native (64-bit) on Linux AMD64 I have to do:
 
105
   ./configure
 
106
   make
 
107
   make check
 
108
   make install 
 
109
 
 
110
If I want to build Judy 32-bit on Linux AMD64 I have to do:
 
111
   ./configure --enable-32-bit 
 
112
   make 
 
113
   make check 
 
114
   make install 
111
115
 
112
116
4. LICENSE
113
117
----------