~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to xcomp/erl-xcomp.conf.template

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-07 15:07:37 UTC
  • mfrom: (1.2.1 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090507150737-i4yb5elwinm7r0hc
Tags: 1:13.b-dfsg1-1
* Removed another bunch of non-free RFCs from original tarball
  (closes: #527053).
* Fixed build-dependencies list by adding missing comma. This requires
  libsctp-dev again. Also, added libsctp1 dependency to erlang-base and
  erlang-base-hipe packages because the shared library is loaded via
  dlopen now and cannot be added using dh_slibdeps (closes: #526682).
* Weakened dependency of erlang-webtool on erlang-observer to recommends
  to avoid circular dependencies (closes: #526627).
* Added solaris-i386 to HiPE enabled architectures.
* Made script sources in /usr/lib/erlang/erts-*/bin directory executable,
  which is more convenient if a user wants to create a target Erlang system.
* Shortened extended description line for erlang-dev package to make it
  fit 80x25 terminals.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###
 
2
### %CopyrightBegin%
 
3
### 
 
4
### Copyright Ericsson AB 2009. All Rights Reserved.
 
5
### 
 
6
### The contents of this file are subject to the Erlang Public License,
 
7
### Version 1.1, (the "License"); you may not use this file except in
 
8
### compliance with the License. You should have received a copy of the
 
9
### Erlang Public License along with this software. If not, it can be
 
10
### retrieved online at http://www.erlang.org/.
 
11
### 
 
12
### Software distributed under the License is distributed on an "AS IS"
 
13
### basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
14
### the License for the specific language governing rights and limitations
 
15
### under the License.
 
16
### 
 
17
### %CopyrightEnd%
 
18
###
 
19
### File: erl-xcomp.conf
 
20
### Author: Rickard Green
 
21
###
 
22
 
 
23
### ----------------------------------------------------------------------------
 
24
### When cross compiling Erlang/OTP, copy this file and set the variables
 
25
### needed below. Then pass the path to the copy of this file as an argument
 
26
### to "eval `otp_build env_cross <absolute path to erl-xcomp.conf file>`".
 
27
### ----------------------------------------------------------------------------
 
28
 
 
29
### ----------------------------------------------------------------------------
 
30
### Variables in the following section *have* to be set.
 
31
###
 
32
 
 
33
##
 
34
## Operating system and hardware architecture.
 
35
##
 
36
# Operating system: linux|solaris<ver>|darwin|freebsd|win32|<...>
 
37
erl_xcomp_os=
 
38
# Hardware architecture: x86|x86_64|ultrasparc|sparc64|ppc|arm|tile|<...>
 
39
# Note that this will be the host parameter to configure, so it
 
40
# should be both recognizable by config.sub and a valid prefix for
 
41
# i.e. gcc etc if compiler is not specified further down. 
 
42
erl_xcomp_hw=
 
43
# Manufacturer: (unknown is ok)
 
44
erl_xcomp_man=
 
45
# Extra target info (unknown is ok)
 
46
erl_xcomp_target_xtra=
 
47
 
 
48
# Target (change if default isn't satisfactory)
 
49
# Note that this has to correspond to what config.sub thinks the machine is.
 
50
# Edit config.sub if not satisfactory, or set this explicitly 
 
51
# to what output you will get from running 
 
52
# $ERL_TOP/erts/autoconf/config.sub $erl_xcomp_hw
 
53
 
 
54
erl_xcomp_target=${erl_xcomp_hw}-${erl_xcomp_man}-${erl_xcomp_os}-${erl_xcomp_target_xtra}
 
55
 
 
56
##
 
57
## Sizes (in bytes) of some important types.
 
58
##
 
59
# void *
 
60
erl_xcomp_void_p=
 
61
# short
 
62
erl_xcomp_short=
 
63
# int
 
64
erl_xcomp_int=
 
65
# long
 
66
erl_xcomp_long=
 
67
# long long (use 0 if no 'long long' type exist)
 
68
erl_xcomp_long_long=
 
69
# size_t
 
70
erl_xcomp_sizeof_size_t=
 
71
# off_t
 
72
erl_xcomp_sizeof_off_t=
 
73
 
 
74
### ----------------------------------------------------------------------------
 
75
### The variables in the following section have to be set for linux systems
 
76
###
 
77
# linux kernel version (as reported by "uname -r")
 
78
erl_xcomp_linux_kernel=
 
79
 
 
80
### ----------------------------------------------------------------------------
 
81
### ---------------------------------------------------------------------------
 
82
### To override the configure flags for a special target system, You
 
83
### can set this variable which overrides configure parameters on the 
 
84
### command line and instead uses the specified options. The variable
 
85
### leaves the build-host system untouched.
 
86
### ---------------------------------------------------------------------------
 
87
erl_xcomp_configure_flags=
 
88
 
 
89
###----------------------------------------------------------------------------
 
90
### You can specify a specific CC or LD for the build target (the cross 
 
91
### compiler) here along with magic CFLAGS and/or LDFLAGS if needed
 
92
### ar and ranlib might also be specified if needed.
 
93
###----------------------------------------------------------------------------
 
94
 
 
95
erl_xcomp_cc=
 
96
 
 
97
erl_xcomp_ld=
 
98
 
 
99
erl_xcomp_cflags=
 
100
 
 
101
erl_xcomp_cpp=
 
102
 
 
103
erl_xcomp_ldflags=
 
104
 
 
105
erl_xcomp_ranlib=
 
106
 
 
107
erl_xcomp_ar=
 
108
 
 
109
###----------------------------------------------------------------------------
 
110
### The ded_ls and ded_ldflags variables control linking of dynamically loaded
 
111
### erlang drivers. On i.e. Linux these are set to
 
112
### $(CC) and "-shared" respectively, but other OS'es might need other
 
113
### programs and flags to build a dynamic library. 
 
114
### erl_xcomp_ded_ld_runtime_library_path is the flag to set a
 
115
### specific runtime library path for the shared library at link time, 
 
116
### usually this should be left empty.
 
117
###----------------------------------------------------------------------------
 
118
 
 
119
erl_xcomp_ded_ld=
 
120
 
 
121
erl_xcomp_ded_ldflags=
 
122
 
 
123
erl_xcomp_ded_ld_runtime_library_path=
 
124
 
 
125
### The variables in the following section does not need to be set. Only
 
126
### set these if you really know what you are doing.
 
127
###
 
128
 
 
129
##
 
130
## Big endian/little endian can usually be determined by configure correctly, 
 
131
## but if not, set this variable
 
132
##
 
133
erl_xcomp_bigendian=
 
134
 
 
135
##
 
136
## If you have a working poll that can be used: yes|no
 
137
##
 
138
erl_xcomp_poll=
 
139
 
 
140
##
 
141
## If you have a working kqueue() that can be used: yes|no
 
142
##
 
143
erl_xcomp_kqueue=
 
144
 
 
145
##
 
146
## If you have a putenv() that stores a copy of the key-value pair: yes|no
 
147
##
 
148
erl_xcomp_putenv_copy=
 
149
 
 
150
##
 
151
## If you have reliable floating point exeptions that can be
 
152
## used: yes|no
 
153
##
 
154
erl_xcomp_reliable_fpe=
 
155
 
 
156
##
 
157
## If you have getaddrinfo() usable for ipv6: yes|no
 
158
##
 
159
erl_xcomp_getaddrinfo=
 
160
 
 
161
##
 
162
## If you have a gethrvtime() that works and uses ioctl()
 
163
## to /proc/self: yes|no
 
164
##
 
165
erl_xcomp_gethrvtime_procfs_ioctl=
 
166
 
 
167
##
 
168
## If you have a working clock_gettime(): yes|no
 
169
##
 
170
erl_xcomp_clock_gettime=
 
171
 
 
172
##
 
173
## If you have a __after_morecore_hook that can track malloc()s
 
174
## core memory use: yes|no
 
175
##
 
176
erl_xcomp_after_morecore_hook=
 
177
 
 
178
##
 
179
## If you have brk, sbrk and end symbols: yes|no
 
180
##
 
181
# brk
 
182
erl_xcomp_have_brk=
 
183
# _brk
 
184
erl_xcomp_have__brk=
 
185
# __brk
 
186
erl_xcomp_have___brk=
 
187
# sbrk
 
188
erl_xcomp_have_sbrk=
 
189
# _sbrk
 
190
erl_xcomp_have__sbrk=
 
191
# __sbrk
 
192
erl_xcomp_have___sbrk=
 
193
# end
 
194
erl_xcomp_end=
 
195
# _end
 
196
erl_xcomp__end=
 
197
 
 
198
##
 
199
## If sbrk/brk wrappers using dlsym(RTLD_NEXT, _) can track malloc()s
 
200
## core memory use: yes|no
 
201
##
 
202
erl_xcomp_brk_wrappers=
 
203
 
 
204
### ----------------------------------------------------------------------------