Commit Graph

153 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
zosrothko
2b5f953fcb Accumulate LD_LIBRARY_PATH
Avoid spurious warning when compiling a distro on Ubuntu amd64
2017-04-03 17:06:02 +02:00
Guenter Obiltschnig
be6ad99c4d fix makedepend scripts 2017-03-11 18:06:44 +01:00
Guenter Obiltschnig
dd65c10b53 pass POCO_BUILD_HOST, POCO_TARGET_OSNAME and POCO_TARGET_OSARCH as strings 2017-02-12 14:00:31 +01: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
a6aea22ab8 fix SET_LD_LIBRARY_PATH to include POCO_BASE/LIBDIR if different from LIBPATH 2016-03-06 20:30:39 +01:00
Guenter Obiltschnig
6376963bda add SET_LD_LIBRARY_PATH make variable 2016-03-06 16:22:17 +01:00
Guenter Obiltschnig
3a759171d7 don't be too eager setting POCO_PREFIX to /usr/local; add --no-prefix option to configure to NOT set POCO_PREFIX; output POCO_LIB_INSTALLDIR if POCO_VERBOSE 2016-03-06 11:25:50 +01:00
Guenter Obiltschnig
e395f416fb pass -DPOCO_TARGET_OSNAME and -DPOCO_TARGET_OSARCH to compiler 2016-02-02 14:37:04 +01:00
Guenter Obiltschnig
2540c5340f enable bitcode for iPhone 2016-01-11 16:46:24 +01:00
FrancisANDRE
0bf3a26f18 Use DEBUG instead of SUFFIX.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-15 21:08:26 +01:00
FrancisANDRE
8a726fcec7 Use powershell to start runtests2.cmd
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-15 08:27:50 +01:00
FrancisANDRE
47b972c0c8 Set echo for tracing.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-14 18:53:05 +01:00
FrancisANDRE
a348c8663a Add debug option -d
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-12 18:30:18 +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
51bd3d9798 Add optional [Component [Test]] to focus on the test to run.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-07 17:04:36 +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
FrancisANDRE
0de97cc324 Add LD_LIBRARY_PATH.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-01 20:13:47 +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
f408331525 Use import libraries for Cygwin.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-18 19:57:15 +01:00
FrancisANDRE
2f2cb3bfc0 Add POCO_BUILD for running tests from a build directory.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-18 19:35:56 +01:00
FrancisANDRE
3ea2bed26d Add LIBFLAGS.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-17 21:11:51 +01:00
FrancisANDRE
383f2bbf06 Add LIBFLAGS when linking a static library.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-17 21:10:02 +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
FrancisANDRE
1a8cd2ee7d Remove LINKFLAGS which is used for producing executables.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-17 21:05:21 +01:00
FrancisANDRE
ca6748f430 Remove $(OSARCH_POSTFIX).
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-17 19:36:10 +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
e0c38261b6 add specific Cygwin setup for running Foundation tests.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-24 11:47:24 +02:00
FrancisANDRE
c7469d0ea1 remove the inserted line.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-24 11:36:38 +02:00
FrancisANDRE
01d029f282 remove the LIBSUFFIX setup since the x86_64 directory serves already as
discriminator.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-24 11:27:33 +02:00