/[eiffelstudio]/branches/eth/eve/Src/C/CONFIGS/linux-x86-64
ViewVC logotype

Contents of /branches/eth/eve/Src/C/CONFIGS/linux-x86-64

Parent Directory Parent Directory | Revision Log Revision Log


Revision 94104 - (show annotations)
Mon Jan 27 20:22:39 2014 UTC (5 years, 8 months ago) by wests
File size: 5631 byte(s)
Makes it possible to compile with EVEQs easier
1 #!/bin/sh
2 #--|----------------------------------------------------------------
3 #--| Eiffel runtime configuration
4 #--| Copyright (C) 1985-2004 Eiffel Software. All rights reserved.
5 #--| Duplication and distribution prohibited. May be used only with
6 #--| ISE Eiffel, under terms of user license.
7 #--| Contact Eiffel Software for any other use.
8 #--|
9 #--| Interactive Software Engineering Inc.
10 #--| dba Eiffel Software
11 #--| 356 Storke Road, Goleta, CA 93117 USA
12 #--| Telephone 805-685-1006, Fax 805-685-6869
13 #--| Contact us at: http://www.eiffel.com/general/email.html
14 #--| Customer support: http://support.eiffel.com
15 #--| For latest info on our award winning products, visit:
16 #--| http://www.eiffel.com
17 #--|----------------------------------------------------------------
18
19 #Computation/sizes
20 byteorder='1234'
21 pagesize='4096'
22 alignbytes='8'
23 doublesize='8'
24 intsize='4'
25 integer_64_size='8'
26 floatsize='4'
27 ptrsize='8'
28 longsize='8'
29 integer_32_size='4'
30 integer_16_size='2'
31 charsize='1'
32 bitpbyte='8'
33 lngpad_2='LNGPAD(2)'
34
35 #Formatting
36 #Check value for next 4
37 inttypes_include=''
38 eif_integer_64_display='"lld"'
39 eif_natural_64_display='"llu"'
40 eif_pointer_display='"lX"'
41 eif_integer_64_constant='CAT2(x,LL)'
42 eif_natural_64_constant='CAT2(x,ULL)'
43 d_uint64_to_real='define'
44
45 #File system
46 nofile='1024'
47 groupstype='gid_t'
48 uidtype='uid_t'
49 d_chown='define'
50 d_dup2='define'
51 d_dirnamlen='undef'
52 d_eofpipe='define'
53 d_fcntl='define'
54 d_geteuid='define'
55 d_getgrgid='define'
56 d_getgrps='define'
57 d_getpwuid='define'
58 d_link='define'
59 d_lstat='define'
60 d_mkdir='define'
61 d_readdir='define'
62 d_rewinddir='define'
63 d_rename='define'
64 d_rmdir='define'
65 d_unlink='define'
66 i_dirent='define'
67 i_fcntl='undef'
68 i_grp='define'
69 i_limits='define'
70 i_pwd='define'
71 i_sysdir='define'
72 i_sysfile='define'
73 i_sysndir='undef'
74
75 #Network
76 selecttype='fd_set *'
77 d_keepalive='undef'
78 i_fd_setsyss='undef'
79 i_niin='define'
80 i_sysin='undef'
81 i_syssock='define'
82 i_sysun='define'
83
84 #Time
85 timetype='time_t'
86 d_ftime='undef'
87 d_gettimeod='define'
88 d_rusage='define'
89 d_time='define'
90 d_times='define'
91 d_utime='define'
92 i_sysresrc='define'
93 i_systimeb='define'
94 i_systimes='define'
95 i_time='define'
96 i_systime='define'
97 i_systimek='undef'
98 i_utime='define'
99 #Check value for next 1
100 i_sysutime='undef'
101 i_tmvlsyss='undef'
102
103 #Signals
104 abortsig='SIGABRT'
105 signal_t='void'
106 d_bsdjmp='define'
107 #Check value for next 1
108 d_bsdsig='undef'
109 d_keepsig='define'
110 d_sigaction='define'
111 d_sigaltstack='define'
112 d_siglist='define'
113 d_sigsetmk='define'
114 d_sigvec='define'
115 d_sigvectr='undef'
116
117 #System
118 malloctype='void *'
119 pidtype='pid_t'
120 prototype='define'
121 d_gethid='define'
122 d_maypanic='undef'
123 d_nanosleep='define'
124 d_pidcheck='define'
125 d_sbrk='define'
126 d_sbrksmart='undef'
127 d_smartmmap='undef'
128 d_strerror='define'
129 d_syserrlst='define'
130 d_sysernlst='undef'
131 d_strerrm='strerror(e)'
132 d_usleep='define'
133 i_stdarg='define'
134 i_varargs='undef'
135
136 #Shell
137 eunicefix=':'
138 rm='/bin/rm'
139 sed='/bin/sed'
140 spitshell='cat'
141
142 #Compiler/Preprocessor
143 if [ -n "$ISE_VERSION" ]; then
144 rt_version=$ISE_VERSION
145 else
146 rt_version=''
147 fi
148 if [ -n "$ISE_EIFFEL" ]; then
149 rt_include=$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/include
150 rt_lib=$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/lib
151 rt_templates=$ISE_EIFFEL/studio/config/$ISE_PLATFORM/templates
152 x2c=$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin/x2c
153 else
154 rt_include=$ISE_PREFIX/include/eiffelstudio-$rt_version
155 rt_lib=$ISE_PREFIX/$ISE_LIB_NAME/eiffelstudio-$rt_version
156 rt_templates=$ISE_PREFIX/share/eiffelstudio-$rt_version/studio/config/$ISE_PLATFORM/templates
157 x2c=$ISE_PREFIX/$ISE_LIB_NAME/eiffelstudio-$rt_version/studio/x2c
158 fi
159 add_log='undef'
160 if [ -n "$CC" ]; then
161 cc=$CC
162 else
163 cc='gcc'
164 fi
165 if [ -n "$CFLAGS" ]; then
166 ccflags=$CFLAGS
167 else
168 ccflags='-pipe -fPIC -D_GNU_SOURCE -m64'
169 fi
170 ccldflags='-m64'
171 if [ -n "$CPP" ]; then
172 cpp=$CPP
173 else
174 cpp='g++'
175 fi
176 if [ -n "$CPPFLAGS" ]; then
177 cppflags=$CPPFLAGS
178 else
179 cppflags="$ccflags"
180 fi
181
182 if [ -n "$SCOOPQS" ]; then
183 ccflags="$ccflags -DSCOOPQS `pkg-config --cflags libeveqs` -rdynamic -g"
184 cppflags="$ccflags"
185 fi
186
187 cpp_stuff='42'
188 defvoidused='15'
189 #Check value for next 4
190 eif_sgi='undef'
191 eif_solaris='undef'
192 eif_windows='undef'
193 eif_64_bits='define'
194 eif_os='EIF_OS_LINUX'
195 eif_arch='EIF_ARCH_X86_64'
196 Mcc='Mcc'
197 d_tls='undef'
198 #Check value for next 2
199 objcflags='-ObjC'
200 mtccflags="$ccflags -DEIF_THREADS -DEIF_LINUXTHREADS"
201 mtcppflags="$cppflags -DEIF_THREADS -DEIF_LINUXTHREADS"
202 optimize="-O3 -g"
203 voidflags='15'
204 #Check value for next 1
205 warning_level='-Wall -Wextra -Wno-unused-parameter -pedantic -std=gnu99'
206 wkoptimize="-O0 -g"
207
208
209 if [ -n "$SCOOPQS" ]; then
210 optimize="$optimize -DSCOOPQS `pkg-config --cflags libeveqs` -rdynamic"
211 wkoptimize="$wkoptimize -DSCOOPQS `pkg-config --cflags libeveqs` -rdynamic"
212 fi
213
214
215 #Makefiles
216 ar='ar'
217 boehmgclib='gc'
218 command_makefile='make -f'
219 concurrent_prefix='c'
220 cp='/bin/cp'
221 eiflib='finalized'
222 if [ -n "$LD" ]; then
223 ld='$LD'
224 else
225 ld='ld'
226 fi
227 lintflags=''
228 ldflags="-m elf_x86_64"
229 ldsharedflags="$ldflags -shared -o"
230
231 libs='-lm'
232
233 if [[ -n "$SCOOPQS" ]]; then
234 libs="`pkg-config --libs libeveqs` -lstdc++ $libs"
235 fi
236
237 if [[ -n "$SCOOPQS_STATIC" ]]; then
238 libs="-static -static-libgcc -static-libstdc++ $libs"
239 fi
240
241 ln='/bin/ln'
242 if [ -n "$MAKE" ]; then
243 make=$MAKE
244 else
245 make='make'
246 fi
247 mkdep='\$(EIFFEL_SRC)/C/mkdep'
248 mkdir='mkdir'
249 mtldflags="$ldflags"
250 mtldsharedflags="$ldsharedflags"
251 mtlibs="$libs -pthread"
252 mt_prefix='mt'
253 mv='/bin/mv'
254 prefix='lib'
255 ranlib=':'
256 shared_prefix='lib'
257 shared_suffix='.so'
258 shared_rt_suffix='.so'
259 sharedlibs='-lm'
260 mtsharedlibs='-lm -lpthread'
261 sharedlibversion='.14.05'
262 sharedlink='ld'
263 suffix='.a'
264 wkeiflib='wkbench'
265
266 #testing
267 start_test='if [ ! -f finished ] ; then'
268 end_test='; fi'
269 create_test='touch finished'
270
271 CONFIG=true

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23