Matthew Flatt
ba973a317f
add `configure' test for mmap() and mprotect()
...
Use the test to enable execute permission on memory that is allocated
for code, including FFI callbacks.
2012-12-31 12:04:03 -07:00
Matthew Flatt
93affa4d5d
fix a build dependency in --enable-shared mode
...
Closes PR 13392
2012-12-28 12:22:32 -07:00
Matthew Flatt
03259ef539
MinGW-w64 support
...
For now, SGC must be used, but `configure' does not select it
automatically.
Also, support Cygwin (in addition to MSYS) as a build environment
when using MinGW compilers. Since I build in a Cygwin environment
(which seemed to be the easiest way to get MinGW-w64 gcc), I use
../configure --host=x86_64-w64-mingw32 --enable-sgc
2012-12-28 11:06:46 -06:00
Matthew Flatt
bca4f47188
fix `configure' typo for MinGW
2012-12-09 14:54:29 -07:00
Matthew Flatt
5b016b4c32
win32: support MinGW build
...
A MinGW build is the same shape as a MSVC build (but without
MzCOM), unlike a Cygwin build.
2012-12-09 11:26:02 -07:00
Matthew Flatt
9ef485d802
fix configuration for QNX
...
Patch from Tobias Hammer.
Closes PR 13265
2012-11-16 06:37:23 -07:00
Matthew Flatt
909a6fb5c7
Mac OS X: make --disable-libffi the default
...
Avoids a common problem with libffi installed by MacPorts
causing problems with a mismatch between an iconv installed
by MacPorts and the system iconv. (When libffi is installed,
then -I/opt/include for the libffi heads also picks up the
iconv headers, but the ordering of the lib flags doesn't
pick up libiconv from /opt/lib. We could try to hack around
this by ordering the flags just right, but it seems better
to avoid the issue.)
2012-09-23 09:42:25 -05:00
Matthew Flatt
58b054c6a2
patches for Dragonfly
...
Closes PR 13115
2012-09-15 09:20:27 -06:00
Tim Brown
ff185cf743
Solaris 5.10 has poll(), so set try_poll_syscall="yes" in configure
...
in order to enable it. Otherwise Solaris 5.10 has issues building.
2012-06-03 04:50:06 +08:00
Matthew Flatt
e9cec00da6
configure: use installed `libtool' by default
...
But libtool is used only for `--enabled-shared' builds.
2012-05-31 09:21:25 -06:00
Matthew Flatt
d020c75202
remove libfit
2011-12-21 16:17:56 -07:00
Matthew Flatt
eb25a2db47
add epoll() support for Linux, kqueue() support for BSDs
...
This change builds on the blocking-I/O change to provide substantially
better performance when waiting on lots of sockets.
2011-11-10 10:01:56 -07:00
Matthew Flatt
646f7e70e7
prefer poll() to select() on Linux
...
On Mac OS X, poll() doesn't work right in versions earlier than 10.5.5,
select() is always faster, and large number of sockets will be
better handled via kqueue(). On Linux, poll() is defintely better.
Otherwise, we stick with select() to be conservative.
2011-11-10 05:46:04 -07:00
Matthew Flatt
245f45d183
switch Mac OS X build default (32-bit vs 64-bit) to compiler default
...
That means the default is 64-bit for a typical Mac OS X 10.6 or 10.7
installation.
2011-10-20 14:30:02 -06:00
Eli Barzilay
9ade64cc84
Some "Scheme" -> "Racket" changes and similar.
2011-10-16 18:53:30 -04:00
Kevin Tew
d3037adbc0
QNX porting
2011-10-06 10:50:37 -06:00
Matthew Flatt
97d0df94bb
fix "configure" and "configure.ac" for libfit
2011-10-05 11:41:05 -06:00
Neil Toronto
d3b5e21cae
Added new plot library and old libfit (which plot still depends on)
2011-10-05 10:26:49 -06:00
Eli Barzilay
7ad7857ce2
Fixed "src/configure".
...
(Turns out that editing configure by hand is not a good idea...)
Also a random racket comment.
2011-10-05 04:55:25 -04:00
Eli Barzilay
e01e46b772
Removed the `plot' collection, in preparation for adding the new one instead.
2011-10-05 04:09:10 -04:00
Kevin Tew
f2b7d1eca3
Start of port to QNX
2011-09-29 14:42:04 -06:00
Matthew Flatt
69929b7499
configure: make --disable-jit imply --disable-futures
2011-08-18 12:41:36 -06:00
Matthew Flatt
ca92376381
detect __sync_bool_compare_and_swap() via `configure'
2011-08-12 17:03:28 -06:00
Matthew Flatt
bba4d413e8
add usual prefix to configure flag report
2011-06-20 10:28:35 -06:00
Matthew Flatt
56ee3049b2
switch configure' to use "$host_..." instead of
uname'
...
to support cross compilation;
the main risk of this change is that I might have some
GNU canonical system names wrog, since they're different
from `uname' results
2011-06-19 11:39:38 -06:00
Matthew Flatt
7448f21fa5
add --enable-racket=<path> to configure
...
to set the Racket executable to run when building and
installing Racket
2011-06-19 10:39:18 -06:00
Matthew Flatt
a60bfe9b7f
remove some obsolete Mac OS X compiler flags for gracket
2011-05-09 07:27:04 -06:00
Matthew Flatt
8679afed60
clean up C part of build
...
- no more attempt to support places with the Boehm GC
- no more libatomic (which was for places + Boehm GC)
- remove unsupported configuration options
- strip Racket-specific configure options before libffi configure
- port two leftover Perl scripts to Racket scripts
2011-04-26 17:14:55 -06:00
Matthew Flatt
4aabaeb7af
fix configure error that can cause CFLAGS to be ignored
...
Merge to 5.1.1
2011-04-24 19:11:57 -06:00
Matthew Flatt
09dbfee792
kFreeBSD configuration fixes
...
and use "uconfig.h" for default configuration
2011-04-24 08:54:53 -06:00
Kevin Tew
113918e85a
Revert "disable places-by-default for now"
...
This reverts commit 8760d38a95
.
2011-04-21 10:18:29 -06:00
Matthew Flatt
8760d38a95
disable places-by-default for now
...
--- pending further investigation of memory consumption
2011-04-21 06:12:31 -06:00
Kevin Tew
4fd6144e3d
[Places] place are now turned on by default
2011-04-19 09:15:17 -06:00
Matthew Flatt
b6efdff4ec
configure: -lffi goes in LIBS, not LDFLAGS
2011-04-14 10:49:13 -06:00
Matthew Flatt
f6d185abab
configure: use `pkg-config' for libffi
2011-04-13 11:00:23 -06:00
Matthew Flatt
ace0faa50f
fix `configure' typo
2011-04-11 06:33:16 -06:00
Matthew Flatt
ac71f6080e
don't look for X11 headers and libs during configure
2011-04-10 19:37:59 -06:00
Matthew Flatt
f3c3bb4441
Use installed libffi, if any, instead of building own
...
and add --disable-libffi to get old, always-build behavior
2011-04-10 19:26:15 -06:00
Matthew Flatt
2482816d3d
fix `configure' detection of getaddrinfo()
2011-02-27 16:55:04 -07:00
Matthew Flatt
8c0d19fb12
fix `configure' for 64-bit Mac OS X kernel
2011-02-11 06:37:34 -07:00
Matthew Flatt
309e1aec4f
re-generate `configure' script
...
Merge to 5.1, along with e91f243b64
2011-02-02 16:10:40 -07:00
Matthew Flatt
dc49e6a364
fix configure reporting of --disable-float
2011-01-31 19:16:07 -07:00
Matthew Flatt
f9bcdc9baf
move float config to "mzconfig.h"; enable by default for Windows
2011-01-31 17:51:09 -07:00
Vincent St-Amour
ac76d963b0
Enable single-precision floats by default.
2011-01-31 16:39:17 -05:00
Matthew Flatt
79cd92859c
disable user-specific setup on `make install' by default
...
and add a `--enable-userspecific' flag for `configure'
2011-01-13 10:59:20 -07:00
Matthew Flatt
13ddab969b
enable ptherads by default for OpenBSD
2011-01-04 12:44:36 -07:00
Matthew Flatt
f11e66fd71
fix sgcdebug configuration
2010-12-26 06:47:51 -06:00
Matthew Flatt
8b8dd77ad6
change nearly all long's to
intptr_t'
...
and also changed vector, string, and byte string counts to
`intptr_t' instead of `int'.
Except for the vector count, etc. change, this is not really a
change for any currently supported platform, where `intptr_t'
is the same as `long'. It's a step to suporting Win64, though,
where `long' is the same as `int' instead of `intptr_t'.
2010-12-03 08:48:33 -07:00
Matthew Flatt
11f45cd2fd
fix plot build to use CC from Makefiles; fix fallout in Mac build
...
to clean up the hack of putting -m32 in CC instead of CFLAGS
2010-11-10 07:20:35 -07:00
Matthew Flatt
cccfdbe2c4
misc clean-up related to build changes
2010-11-06 22:08:15 -06:00