multilib => "/64",
},
-#### IRIX 5.x configs
-# -mips2 flag is added by ./config when appropriate.
- "irix-gcc" => {
- inherit_from => [ "BASE_unix", asm("mips32_asm") ],
- cc => "gcc",
- cflags => picker(default => "-DB_ENDIAN",
- debug => "-g -O0",
- release => "-O3"),
- bn_ops => "BN_LLONG RC4_CHAR",
- thread_scheme => "(unknown)",
- perlasm_scheme => "o32",
- dso_scheme => "dlfcn",
- shared_target => "irix-shared",
- shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
- },
- "irix-cc" => {
- inherit_from => [ "BASE_unix", asm("mips32_asm") ],
- cc => "cc",
- cflags => picker(default => "-use_readonly_const -DB_ENDIAN",
- debug => "-g -O0",
- release => "-O2"),
- bn_ops => "BN_LLONG RC4_CHAR",
- thread_scheme => "(unknown)",
- perlasm_scheme => "o32",
- dso_scheme => "dlfcn",
- shared_target => "irix-shared",
- shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
- },
#### IRIX 6.x configs
-# Only N32 and N64 ABIs are supported. If you need O32 ABI build, invoke
-# './Configure irix-cc -o32' manually.
+# Only N32 and N64 ABIs are supported.
"irix-mips3-gcc" => {
inherit_from => [ "BASE_unix", asm("mips64_asm") ],
cc => "gcc",
cflags => combine(picker(default => "-mabi=n32 -DB_ENDIAN -DBN_DIV3W",
debug => "-g -O0",
release => "-O3"),
- threads("-D_SGI_MP_SOURCE -pthread")),
+ threads("-D_SGI_MP_SOURCE")),
+ ex_libs => add(threads("-lpthread")),
bn_ops => "RC4_CHAR SIXTY_FOUR_BIT",
thread_scheme => "pthreads",
perlasm_scheme => "n32",
debug => "-g -O0",
release => "-O3"),
threads("-D_SGI_MP_SOURCE")),
+ ex_libs => add(threads("-lpthread")),
bn_ops => "RC4_CHAR SIXTY_FOUR_BIT_LONG",
thread_scheme => "pthreads",
perlasm_scheme => "64",
bn_ops => "BN_LLONG",
},
-#### DEC Alpha OSF/1/Tru64 targets.
- "osf1-alpha-gcc" => {
+#### DEC Alpha Tru64 targets. Tru64 is marketing name for OSF/1 version 4
+#### and forward. In reality 'uname -s' still returns "OSF1". Originally
+#### there were even osf1-* configs targeting prior versions provided,
+#### but not anymore...
+ "tru64-alpha-gcc" => {
inherit_from => [ "BASE_unix", asm("alpha_asm") ],
cc => "gcc",
- cflags => "-O3",
- bn_ops => "SIXTY_FOUR_BIT_LONG",
- thread_scheme => "(unknown)",
- dso_scheme => "dlfcn",
- shared_target => "alpha-osf1-shared",
- shared_extension => ".so",
- },
- "osf1-alpha-cc" => {
- inherit_from => [ "BASE_unix", asm("alpha_asm") ],
- cc => "cc",
- cflags => "-std1 -tune host -O4 -readonly_strings",
+ cflags => combine("-std=c9x -D_XOPEN_SOURCE=500 -D_OSF_SOURCE -O3",
+ threads("-pthread")),
+ ex_libs => "-lrt", # for mlock(2)
bn_ops => "SIXTY_FOUR_BIT_LONG",
- thread_scheme => "(unknown)",
+ thread_scheme => "pthreads",
dso_scheme => "dlfcn",
shared_target => "alpha-osf1-shared",
shared_extension => ".so",
"tru64-alpha-cc" => {
inherit_from => [ "BASE_unix", asm("alpha_asm") ],
cc => "cc",
- cflags => combine("-std1 -tune host -fast -readonly_strings",
+ cflags => combine("-std1 -D_XOPEN_SOURCE=500 -D_OSF_SOURCE -tune host -fast -readonly_strings",
threads("-pthread")),
+ ex_libs => "-lrt", # for mlock(2)
bn_ops => "SIXTY_FOUR_BIT_LONG",
thread_scheme => "pthreads",
dso_scheme => "dlfcn",
coutflag => "/Fo",
rc => "rc",
rcoutflag => "/fo",
- lib_cflags => add("/Zi /Fdlib"),
- dso_cflags => "/Zi",
+ lib_cflags => add("/Zi /Fdossl_static"),
+ dso_cflags => "/Zi /Fddso",
bin_cflags => "/Zi /Fdapp",
lflags => add("/debug"),
shared_ldflag => "/dll",
inherit_from => [ "Cygwin-x86" ]
},
-#### DJGPP
- "DJGPP" => {
- inherit_from => [ asm("x86_asm") ],
- cc => "gcc",
- cflags => "-I/dev/env/WATT_ROOT/inc -DTERMIO -DL_ENDIAN -fomit-frame-pointer -O2 -Wall",
- sys_id => "MSDOS",
- ex_libs => add("-L/dev/env/WATT_ROOT/lib -lwatt"),
- bn_ops => "BN_LLONG",
- perlasm_scheme => "a.out",
- },
-
##### MacOS X (a.k.a. Darwin) setup
"darwin-common" => {
inherit_from => [ "BASE_unix" ],