Commit Graph

100 Commits

Author SHA1 Message Date
Francis ANDRE
e8b2ac9b23 Honor CC & CXX environment variables when set 2017-04-16 10:18:04 +02:00
Francis ANDRE
9a3da4cf82 Take and environement variables when they are defined 2017-04-15 12:37:56 +02:00
Guenter Obiltschnig
f42f17dd65 fixed GH #1536: Building with OS X 10.12 SDK and 10.7 deployment target without libc++ fails 2017-01-10 17:08:18 +01:00
Guenter Obiltschnig
e2bfe6f2cf added Yocto config; updated ARM-Linux config 2016-10-07 22:10:26 +02:00
zosrothko
f62ee1466d Issue with gcc strerror_r in Net/Socket.cpp@151
All Travis jobs fail with
```src/Socket.cpp: In static member function ‘static int Poco::Net::Socket::select(Poco::Net::Socket::SocketList&, Poco::Net::Socket::SocketList&, Poco::Net::Socket::SocketList&, const Poco::Timespan&)’:
src/Socket.cpp:151:47: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
src/Socket.cpp:164:49: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
```
From man strerror_r

```
int strerror_r(int errnum, char *buf, size_t buflen);            /* XSI-compliant */
char *strerror_r(int errnum, char *buf, size_t bufle);            /* GNU-specific */

Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
The XSI-compliant version of strerror_r() is provided if:
(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE
Otherwise, the GNU-specific version is provided. 
```
2016-09-07 21:27:19 +02:00
zosrothko
ec6b72a200 Update Cygwin config
Add Data/PostgreSQL to OMIT instead of setting it
Restore SYSFLAGS to _XOPEN_SOURCE=500
2016-08-30 05:30:33 +02:00
FrancisANDRE
eb32210345 Fix FSM-libexec dependencies. Remove XOPEN define in Cygwin config that
makes compilation of Data/MySQL testsuite fail.
2016-07-19 09:12:02 +02:00
FrancisANDRE
8c83e7696e Omit Data/postgreSQL for Cygwin as postgreSQL front end is not available.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-12 21:32:31 +01:00
Guenter Obiltschnig
2540c5340f enable bitcode for iPhone 2016-01-11 16:46:24 +01:00
Guenter Obiltschnig
b71d54d65c add -DPOCO_HAVE_ADDRINFO -DPOCO_HAVE_LIBRESOLV to Linux build configs 2015-12-11 15:54:40 +01:00
Guenter Obiltschnig
c8a39fcac1 cleaned up OS X build configurations 2015-12-11 10:03:45 +01:00
FrancisANDRE
c1e941ecf5 Merge remote-tracking branch 'pocoproject@github/develop' into develop@kampbell 2015-12-03 07:31:14 +01:00
Francis ANDRE
ca166fc320 Refactoring 2015-12-03 07:00:19 +01:00
FrancisANDRE
78e5bcf1ba Merge remote-tracking branch 'pocoproject@github/develop' into MkdocMkrelease 2015-12-02 10:07:52 +01:00
FrancisANDRE
6d53f43d46 Refactoring, add -Wa,-mbig_obj
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-01 20:17:32 +01:00
zosrothko
b988179dcc Rename Linux32 to Linux32-gcc 2015-12-01 08:14:28 +01:00
zosrothko
5762580af0 Generic Linux configuration
Generic Linux configuration works either for i686, x86_64 or cross compilation for ARM. For producing a Linux 32 bits on a Linux x84_64 OS, one should crossbuild with the Linux32 configuration.
2015-12-01 08:06:00 +01:00
zosrothko
08b17e82f5 Linux32: cross compilation for Linux 32 bits on a Linux 64bits 2015-12-01 08:02:33 +01:00
Aleksandar Fabijanic
be8663c395 LIBFLAGS in build/config/Linux breaks build in Ubuntu 14.04 #1053 2015-11-30 14:37:33 -06:00
FrancisANDRE
71ac932a90 Fixup make install for Cygwin.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-19 10:21:59 +01:00
FrancisANDRE
3ea2bed26d Add LIBFLAGS.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-17 21:11:51 +01:00
FrancisANDRE
30bec39a50 Add SHLIBFLAGS for linking shared libraries.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-17 21:07:36 +01:00
Daniel Rosser
9e66e6e522 tvOS / WatchOS bitcode enabled for simulators 2015-11-12 23:56:52 +11:00
Daniel Rosser
2a2b768afd tvOS / WatchOS bitcode enabled 2015-11-12 17:19:34 +11:00
kblaschke
795b4fc9bb Auto-detect OSARCH_64BITS. Otherwise, if OSARCH_64BITS is not specified, the build system would always produce 32-bit libraries, even on 64-bit hosts. 2015-11-06 11:55:21 +01:00
kblaschke
317117b510 Linux build configuration: Add -m32/-m64 flags to compiler and dynamic linker to fully support OSARCH_64BITS in cross-compiling scenarios 2015-11-06 11:30:41 +01:00
Guenter Obiltschnig
538c73ba3f add brew OpenSSL search paths to Darwin configs 2015-10-05 09:29:40 +02:00
Guenter Obiltschnig
f3995e336f added experimental watch build config 2015-09-29 20:43:22 +02:00
Guenter Obiltschnig
5184a8526f tvOS support 2015-09-29 14:25:54 +02:00
FrancisANDRE
ac879caa46 Cygwin supports Unix IPCs thru a system process started by
/usr/sbin/cygserver. So, the flag -DPOCO_NO_SHAREDMEMORY can be removed. 
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-24 11:25:44 +02:00
FrancisANDRE
e37f63c823 rename build/config/CYGWIN to build/config/Cygwin
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-21 14:42:40 +02:00
FrancisANDRE
b7f6870cef add -Wa,-mbig-obj so assmebler could assemble object files with large
number of section on Cygwin x86_64

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-18 11:13:55 +02:00
FrancisANDRE
7470e4fc12 The u_short type is used by the struct tcphdr as
# 52 "/usr/include/netinet/tcp.h" 3 4
struct tcphdr {
 u_short th_sport;
 ...
 };
but its definition is conditionned by the D__BSD_VISIBLE constant. Thus,
config/CYGWIN should set this constant as a SYSFLAGS 

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-17 07:32:15 +02:00
gpongelli
7985e1f1f6 Update iPhone
Updated TOOL_PREFIX path and compilers.
2015-05-14 17:47:37 +02:00
Guenter Obiltschnig
8b5899e000 updated SolarisStudio config 2015-03-27 20:50:00 +01:00
Guenter Obiltschnig
dc15e82ce8 add Linux-SolarisStudio build config 2015-03-23 23:21:13 +01:00
Guenter Obiltschnig
5484f6045f fix Linux clang 2015-03-21 10:46:16 +01:00
Guenter Obiltschnig
fb5501e162 add Linux clang build config and travis build 2015-03-21 10:22:44 +01:00
Rangel Reale
d6fcca806e * NaCl support 2015-03-20 11:28:49 -03:00
Aleksandar Fabijanic
71fb76bc40 replace POCO_PREFIX with POCO_LIB_INSTALLDIR 2015-01-13 07:41:18 -06:00
Aleksandar Fabijanic
e55af93fc2 replace POCO_PREFIX with POCO_LIB_INSTALLDIR 2015-01-13 07:40:52 -06:00
Aleksandar Fabijanic
82253b83cf replace POCO_PREFIX with POCO_LIB_INSTALLDIR 2015-01-13 07:40:02 -06:00
Steven Hahn
24d6b57c90 set install_name to POCO_PREFIX/lib 2015-01-12 11:48:45 -05:00
Asari Takashi
d1436c09fd Added WINDMC variable to build scripts 2014-12-25 09:53:44 +00:00
Roger Meier
6cef1c9816 build/config/Linux: add ${CROSS_COMPILE} as option
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-11-10 22:34:59 +01:00
Timothy Gu
748260acc4 Update MinGW-CrossEnv recipe to match plain MinGW 2014-09-08 13:01:50 -07:00
Günter Obiltschnig
8e54e290d9 Merge pull request #526 from bakercp/of-apothecary
Fix executable path for recent Android NDK.
2014-08-24 06:20:40 +02:00
Christopher Baker
84538164ef Fix executable path for latest Android NDK. 2014-08-23 22:09:43 -05:00
Christopher Baker
f889dde508 Update MinGW config file. 2014-08-21 14:36:37 -05:00
Cliff Jao
d58de194d3 use c++11 for ios clang; additional fix for #234 2014-08-14 20:37:11 -07:00