Commit Graph

292 Commits

Author SHA1 Message Date
a1675649e4 Remove QNX port. 2006-01-05 01:56:30 +00:00
bb1bba8eca Remove unnecessary assignment, per Tom. 2006-01-02 03:30:41 +00:00
12af9cdff4 Add support for Solaris x86_64 using Sun's compiler.
Pierre Girard
2005-12-30 21:43:41 +00:00
1521aef1db SUNOS4_CC -> SUNOS_CC. 2005-07-30 03:07:42 +00:00
507b758ad9 It appears we need -DSUNOS4_CC for both solaris and sunos4 templates.
Per report from Andrew Clark.
2005-07-29 17:00:29 +00:00
96ecf9d5aa Support Sun's compiler on SunOS4 (a/k/a Solaris 9). Per ayan@ayan.net 2004-12-29 23:47:40 +00:00
f69cf1fc14 Mention why unixware doesn't handle threading in 8.0. 2004-12-19 04:09:48 +00:00
f7bae20d67 Don't bother adding to cflags/cppflags, just set them because configure
handles that, and make solaris debug use no optimization.
2004-12-02 18:11:40 +00:00
3aa9776d95 Add to CPPFLAGS/CFLAGS in template files, don't over-ride them. 2004-11-27 05:03:26 +00:00
5d72ef83fd Miscellaneous Cygwin build fixes from Reini Urban. 2004-11-17 17:46:24 +00:00
0d3b8e9a50 Allow win32/cygwin link against the first matching library symbol rather
than erroring out.  This is the Unix behavior.
2004-11-08 05:23:26 +00:00
409b38f514 Fix TAS assembly stuff for Solaris/386. (I'm not in a position to
actually test this, but it couldn't be broken any worse than it was...)
2004-09-24 00:21:32 +00:00
14531e0c44 Rename irix5 port to irix. 2004-05-19 21:37:43 +00:00
550735cd73 Remove extra 'then'. 2004-05-14 16:29:12 +00:00
261eda55d3 No need for gcc thread stuff anymore, only cc. 2004-05-13 15:44:05 +00:00
9f7283eb1b Remove warning about Unixware. 2004-05-13 14:07:19 +00:00
30a06fe2c4 Unconditionally define:
-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS

for all ports.  It can't hurt if they are not supported, but it makes
our job easier for porting.

Should fix Darwin compile and other platforms without mucking with the
thread detection code.
2004-04-26 04:04:42 +00:00
6a27640230 Fix typo on thread lib name. 2004-04-25 21:03:27 +00:00
7a66015e98 Add new auto-detection of thread flags.
Allow additional thread flags to be added via port templates.

Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new
configure script.
2004-04-23 18:15:55 +00:00
9b04ddc185 Add NetBSD thread compile flags. 2004-04-20 14:36:49 +00:00
e675a23688 Update Darwin thread compile flags, and OS version info. 2004-04-07 18:31:59 +00:00
9b3bc35f82 Update darwin OS version. 2004-04-07 18:30:59 +00:00
b48325310b Update Darwin as thread-safe. 2004-04-07 14:21:39 +00:00
79b805f6d5 Add -D_REENTRANT for Solaris threading. 2004-03-26 18:24:08 +00:00
fda3449625 Update gcc solaris flags. 2004-03-25 22:12:37 +00:00
682a6bd5eb Disasble threads on unixware until other platforms report a problem. 2004-03-22 14:53:43 +00:00
08c0aa7281 Add mention of "-D_POSIX_PTHREAD_SEMANTICS" enabling 5-arg getpwuid_r(). 2004-03-22 01:50:31 +00:00
2ef0ff89af Add Unixware thread support from Larry Rosenman. 2004-03-18 23:23:58 +00:00
64fe1fd239 Update Solaris thread flags, per Jim Seymour 2004-03-14 23:51:48 +00:00
6e7a0f3550 Mark linux as thread-enabled with new 7.5 tests. 2004-03-14 15:06:13 +00:00
c6f0559371 Check and set thread-safe functions separately, rather than as a single
variable.

Remove thread locking for non-thread-safe functions, instead throw a
compile error.

Platforms will have to re-run tools/thread to record their thread
safety.
2004-02-11 21:44:06 +00:00
177ca67095 Update OSF thread flags for non-gcc compiles. 2004-01-08 15:51:24 +00:00
77f140008b Fix Solaris thread build settings for non-gcc compilers. 2004-01-08 04:24:24 +00:00
8042c79fd1 Make Solaris non-gcc thread flag "-mt" a compile flag, not a link flag. 2003-12-31 16:14:44 +00:00
cf4d324d02 Add "-mt" link flag for Solaris non-gcc compiles when using threads ---
required.
2003-12-30 23:13:51 +00:00
afb09b5a31 Use inlined TAS() on PA-RISC, if we are compiling with gcc.
Patch inspired by original submission from ViSolve.
2003-12-23 22:15:07 +00:00
baee5f75c5 Push responsibility for selecting out-of-line-assembler TAS code out to
the platform template files, instead of doing it directly in configure.in.
This seems cleaner, and also opens the door to making the choice be
dependent on the compiler being used.
2003-12-23 18:40:53 +00:00
07eb9fb20b Add -O to really trigger compiler bug. 2003-11-05 07:42:31 +00:00
23c292688f Add detection of compiler bug. 2003-11-05 00:09:08 +00:00
0543af2f12 Fix CFLAGS logic. 2003-11-01 20:45:30 +00:00
e9cd1c771f Get Tru64/cc to compile. Need to add -ieee so that it doesn't choke on
0.0/0.0.  That option appears to affect the regression test result as well.
The compiler documentation doesn't recommend -O4 for universal use, so
let's stick to the conservative -O (== -O2) by default.
2003-10-25 20:18:53 +00:00
378f59904a Fix CFLAGS selection to actually work. Add test to detect whether gcc's
option -fno-strict-aliasing is available.
2003-10-25 15:32:11 +00:00
c568b8fbe7 Remove -pipe from compiles. 2003-10-09 22:55:46 +00:00
dfafeb6a89 Update Solaris FAQ to mention -fast. 2003-10-09 17:11:13 +00:00
b1d955ea7b Remove -pipe on Linux, per reports from Peter. 2003-10-09 16:52:45 +00:00
85bd172c45 Add -pipe compile for Linux. 2003-10-09 14:47:59 +00:00
7185455c08 Make template CFLAGS handling consistent. 2003-10-09 14:40:37 +00:00
6687152582 Re-add -pipe compile flags for bsd's. 2003-10-09 04:34:02 +00:00
0e22cb1232 This centralizes the optimization defaults into configure.in, rather
than having CFLAGS= in the template files.

It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless
the template overrides it.
2003-10-09 03:20:34 +00:00
6acca5765e Add quotes to CFLAG define. 2003-10-09 02:37:09 +00:00