Commit graph

230 commits

Author SHA1 Message Date
IOhannes m zmölnig
0fe7f81a66 fix spelling errors 2022-03-21 09:00:03 +01:00
IOhannes m zmölnig
dea8322668 Merge commit 'd187d4792978ceb4bcc8e68bd347f13fca24f11c' 2022-03-21 08:58:07 +01:00
IOhannes m zmölnig
434e36011a [ci] use central gitlab-iem.yml 2022-03-21 08:55:58 +01:00
katjav
d187d47929 Update README.txt, mainly to list more projects 2019-12-22 14:18:40 +01:00
katjav
2d3b7f4835 Update section about cross-compiling in tips-tricks.md 2019-12-21 21:59:15 +01:00
katjav
8a27ffc4bd Update CHANGELOG.txt for version 0.6.0 2019-12-21 15:10:13 +01:00
katjav
db2bcddcb0 Update version to 0.6.0 after merging 'target-detection' 2019-12-21 14:04:49 +01:00
katjav
6dd188017e
Merge branch target-detection
Branch target-detection adds 10 commits from 1dc4219 till 0993535
and will close the following issues:

#21 OSX fat binaries, default or not?
#50 i386 architecture deprecated for macOS
#55 detect target platform consistently, and simplify cross compilation
2019-12-21 12:28:09 +01:00
katjav
099353552e Add description of variable 'PLATFORM'and target 'dumpmachine' 2019-12-20 23:25:55 +01:00
katjav
f2a5b6614c Add target 'dumpmachine' for verification purposes 2019-12-15 21:47:41 +01:00
katjav
262143b66d Introduce optional user variable 'PLATFORM' for cross compilation 2019-12-15 21:40:05 +01:00
katjav
65e9fc78d7 For Darwin build fat binaries when extension=d_fat
This gives a convenient and logical approach to still build fat
binaries. Only ppc is left out in the cold.
2019-12-15 21:30:00 +01:00
katjav
69e2002ac8 Reorganize definition of -mmacosx-version-min
Minimum version 10.4 was previously set for fat binaries built on i386.
Since fat-by-default is dropped, minimum version can simply be 10.6
if not specified otherwise in cflags.
2019-12-15 21:08:38 +01:00
katjav
2cfb2714a8 For Darwin do not build fat binaries by default
Now that we detect target arch rather than build arch it seems even
less consistent than before to build fat binaries by default.
2019-12-15 16:31:21 +01:00
katjav
53caa9ca78 Change test to see whether -fcheck-new must be used on Darwin 2019-12-15 15:31:26 +01:00
katjav
e13255de24 Test target arch more consistently on Windows 2019-12-15 15:19:16 +01:00
katjav
a140d2165d Terminate if target triplet remained empty 2019-12-15 15:09:04 +01:00
katjav
1dc4219bcb Detect target platform consistently with $(CC) -dumpmachine
We already used this for Windows, now use it for all platforms to
simplify cross compilation in general.
2019-12-15 13:55:32 +01:00
IOhannes m zmölnig
2a9b1729e2 Merge commit '1137cca2fadffc1fbb8f0086165ab1076d5100ef' 2019-11-12 16:37:56 +01:00
IOhannes m zmölnig
8c2a99b0b4 [ci] initial config 2019-11-12 16:37:29 +01:00
IOhannes m zmölnig
536b221522 exclude some files from the generated tarballs 2019-11-12 16:37:22 +01:00
IOhannes m zmölnig
a0054f016f Add 'pd-lib-builder/' from commit '54d5c99c63612e5d740a00b716db482c4a60b08c'
git-subtree-dir: pd-lib-builder
git-subtree-mainline: bab1f03354
git-subtree-split: 54d5c99c63612e5d740a00b716db482c4a60b08c
2019-11-12 16:32:58 +01:00
IOhannes m zmölnig
bab1f03354 Removed git-submodule for pd-lib-builder 2019-11-12 16:32:52 +01:00
katjav
1137cca2fa Specify minimum OSX version 10.6 instead of 10.5
OSX 10.14.3 can not build for 10.5 and stalls the build. Specifying
10.6 as minimum solves the issue (#49). For building with OSX on i386
architectures, minimum OSX version remains unchanged (10.4).
2019-03-20 13:53:59 +01:00
katjav
ece8e6b8b7 Fix omission of flag for minimum OSX version
This commit fixes a regression bug introduced with commit 48c4127
for v0.4.1. If minimum OSX version is not specified the compiler will
assume the version of the build machine and the build may not be
fully compatible with older OSX versions.
2018-08-03 07:39:40 +02:00
IOhannes m zmölnig
9dd4f36886 Removed trailing whitespace 2018-05-30 23:34:25 +02:00
katjav
b19fe37198 Bump version to 0.5.1 for several Windows fixes 2018-03-15 22:04:08 +01:00
katjav
5b4f636ed8 Document 'STRIP' variable 2018-03-15 09:39:11 +01:00
katjav
397b72eb9e Strip when 'stripflags' is defined (default for Windows only)
Stripping of installed binaries for Windows is done by default because
their unstripped size is ridiculously large when built with Mingw-w64.
This default behavior can still be overriden by defining 'stripflags'
empty during install.
2018-03-12 09:34:57 +01:00
katjav
f334dd4e47 Revert "Introduce target 'install-strip' in the battle against Mingw-w64 bloat"
This reverts commit 6bfaba6. Target 'install-strip' wasn't a good idea. A
library makefile may want to define a post install target.
Makefile.pdlibbuilder should define only one installation target, that
can be defined as prerequisite for other targets. A stripping method is
still needed, but not this one.
2018-03-12 08:47:08 +01:00
katjav
6bfaba6df0 Introduce target 'install-strip' in the battle against Mingw-w64 bloat
It seems that externals built with Mingw-w64 are ~10 times larger than
equivalent builds on other platforms (including original Mingw). Stripping
is therefore desirable. As suggested by IOhannes Zmoelnig stripping is not
done by default, instead this alternative installation target is provided
(like in autotools).
2018-02-18 14:33:11 +01:00
IOhannes m zmölnig
44a32fd009 fixed small typo 2018-02-08 13:05:07 +01:00
IOhannes m zmölnig
1b9f3d8895 Do wildcard-search for MSYS when checking Windows platform 2018-02-08 12:17:05 +01:00
IOhannes m zmölnig
b715b0e2ca sed -e's| sed | set |' 2018-02-07 16:21:01 +01:00
IOhannes m zmölnig
7e47b9878b how to build double/W64/double+W64 externals 2018-02-07 16:21:01 +01:00
IOhannes m zmölnig
fa7f798c54 drop "pd-lib-builder" from headings when there's only general advise 2018-02-07 16:21:01 +01:00
IOhannes m zmölnig
e90da163ac Moved git-submodule down the page 2018-02-07 16:21:01 +01:00
IOhannes m zmölnig
e9a67fd0d6 use ~~ for strikethrough 2018-02-07 16:21:01 +01:00
IOhannes m zmölnig
07c5e784f3 document git subtree
and `git submodule` with heavy WARNING signs
2018-02-07 16:21:01 +01:00
IOhannes m zmölnig
b2ce500709 sections and TODOs 2018-02-07 16:21:01 +01:00
IOhannes m zmölnig
0493d4a1e8 Started a small tips&tricks page
with handy commands to achieve specific goals
2018-02-07 16:21:01 +01:00
katjav
f1b0e3c7b6 Add linker option '-static-libgcc' for C++ code on Windows
It seems that standard C libs are needed for C++ externals because
of 'extern "C"' functions (setup, Pd API).
2018-02-01 21:45:54 +01:00
katjav
a1ad2e9c88 Merge branch 'windows-paths'
This merges a series of commits that solve a few issues with paths
for Windows builds.

Variables 'PDDIR' and 'PDBINDIR' now have precedence over 'pdbinpath' as they
should.

Default paths for 32 bit builds on 64 bit Windows are now implemented (thanks
to Lucas Cordiviola).

Probing of 'pdincludepath' and 'pdbinpath' through 'ls' is removed to avoid
confusing error messages.
2018-01-31 13:20:42 +01:00
katjav
3e974fdf21 Update makefile comments related to paths 2018-01-31 13:19:21 +01:00
katjav
fe45bcb376 Avoid ls errors when default paths for Pd on Windows do not exist
Such error messages are confusing if you do not intend to use default
paths. Therefore the probes with ls are removed. Paths to m_pd.h and
pd.dll are probed later in the process when they are possibly
overriden by user definitions.
2018-01-28 20:58:12 +01:00
katjav
9240b64eba Evaluate 'PDBINDIR' before ld flags
So ld flags can be evaluated as immediate variables. Otherwise it
was too confusing, hard to understand why it worked at all.
2018-01-27 14:10:12 +01:00
katjav
f3887bbe7d Update Windows search path documentation in makefile 2018-01-27 12:40:46 +01:00
katjav
1bcf78f86e Define default paths for 32 bit build on 64 bit Windows 2018-01-27 00:07:21 +01:00
katjav
7740128257 Fix priority for user path variables 'PDDIR' & Co.
The order of variable expansion prevented this for the path
to binary 'pd.dll'.
2018-01-24 22:50:20 +01:00
katjav
1361dd3999 Remove unuseful variable 'PD_PATH'
The variable was introduced in commit 41e9743 for compatibility
with centralized build system as inherited from Pd-extended by
Pd-L2ork and Purr Data. But it doesn't work in that context because
$(PD_PATH)/bin is absent. Therefore better remove 'PD_PATH' and
focus on making variables 'PDDIR' & Co. work as expected.
2018-01-24 13:56:36 +01:00