Commit graph

141 commits

Author SHA1 Message Date
danomatika
85b7a71d69 tips: filled out macO universal build info (basics) 2023-05-30 16:21:51 +02:00
danomatika
891fe2bafa tips: format consistency, correct indentation for sh cmd 2023-05-30 16:14:19 +02:00
katjav
5c2e137f7a Fix broken armv6l platform detection (issue #71) 2022-12-15 16:35:20 +01:00
katjav
e6cff665a3 Defer expansion of variable shared.ldflags
Fixes issue #64 ("shared.ldflags broken when building with
helper-library"), a regression introduced with commit
a6975e91 ("Reorder makefile sections"). Name of shared.lib was no
longer expanded after reordering sections.
2020-03-11 18:39:46 +01:00
IOhannes m zmölnig
3eb4832aaf Also test for tilde-object 2020-03-10 12:18:43 +01:00
IOhannes m zmölnig
3f45bcc553 remove accidentally in/excluded stuff 2020-03-10 11:59:25 +01:00
IOhannes m zmölnig
9bd01a2f41 test-case for sources in subdirs 2020-03-09 12:22:30 +01:00
IOhannes m zmölnig
b96e3692e0 delete empty lines before EOL 2020-03-09 10:52:41 +01:00
IOhannes m zmölnig
9b1ba69e7e take multi-arch extensions for shared-libraries into account when testing 2020-03-08 22:19:03 +01:00
IOhannes m zmölnig
f148feecff drop double-/ as path-delimiter 2020-03-08 22:10:52 +01:00
katjav
e2cf0bdce3 Facilitate multiple platform co-installation of shared lib
This resolves issue #58 and replaces pull request #59.
2020-03-08 20:14:19 +01:00
katjav
a6975e9104 Reorder makefile sections (evaluate file names after target platform)
This solves the issue where platform-dependent class inclusion
could not work (#61). Also it seems a more logical order of
evaluation in general because binary file extensions are platform-
dependent.
2020-03-08 11:25:43 +01:00
IOhannes m zmölnig
a10a5b50ad simple 'runcheck' target that tries to open all .pd patches 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
b975a90c55 C++ example project 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
c52b97e770 buildcheck/installcheck targets for the _template_ project 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
965d135bec fix description of how to include the Makefile.pdlibbuilder in real-world projects 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
12c0d1cc87 simplified master-test Makefile with pd-lib-builder magic 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
00dc51cc11 Added READMEs to the test-cases 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
ae74bda944 fixed typos/omissions/leftovers/...
thanks @lucarda
2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
3b3b5d2839 a library that uses shared resources 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
22d9ae409b multifor: extended libraries with 'define for<System>' 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
df62eae454 added buildcheck/installcheck 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
64140c7f69 added 'buildcheck/installcheck targets 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
b8763a8e4b first examples: single object, multitple objects, multiobject-library 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
5c2b6d2910 fixed object-name in template 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
b1f96d9c9e fix description in template Makefile 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
968558f9f2 Makefile to recursively build all subdirs 2020-03-07 22:05:19 +01:00
IOhannes m zmölnig
2da8d220ad template for building tests 2020-03-07 22:05:19 +01:00
katjav
f087faf441 Improve section about cross compilation in tips-tricks.md
Title and text must be more general, but still be specific about
cases which we know to work.
2020-01-09 12:56:50 +01:00
katjav
df9eb41d68 Add two sections about variables to README.md 2019-12-24 22:13:20 +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
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