Commit Graph

211 Commits

Author SHA1 Message Date
Jacek Caban b9427efe3e winegcc: Support distros using plain lib for 32-bit libraries in get_lib_dir.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-20 15:55:59 +02:00
Jacek Caban ce4dde3e9a winegcc: Improve heuristics for -m32/-m64 options in get_lib_dir.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-17 17:07:07 +02:00
Jacek Caban 551d0971c5 winegcc: Check also for unsuffixed lib/ dir in get_lib_dir.
Wine uses lib/ and lib64/ by default. This fixes -m32 handling in such
configuration.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-19 18:26:30 +02:00
Alexandre Julliard 470bd0c2fa winegcc: Add support for building native subsystem libraries.
Based on a patch by Zebediah Figura.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 12:58:34 +02:00
Alexandre Julliard 395a94d308 winegcc: Set page alignment to 4096 in all cases.
This avoids leaving holes in builtin dll mappings.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:10 +02:00
Alexandre Julliard 832a40109e makefiles: Make the directory specifications a bit more standard.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 12:25:26 +01:00
Alexandre Julliard c81de726f2 winegcc: Add support for -mfloat-abi option.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 16:45:55 +01:00
Austin English 159b6d9280 winegcc: Move WineHQ URLs to https.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 09:23:48 +01:00
Alexandre Julliard f5929a9cf9 winegcc: Set the soname of all dlls on Android.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 14:56:30 +09:00
Alexandre Julliard 2b525db8a2 winegcc: Support building from the top directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:08:12 +09:00
Alexandre Julliard e59395208d makefiles: Reduce the maximum page size for modules that have a base address.
It avoid bumping into the next allocated base address on 64-bit.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:54 +09:00
Alexandre Julliard 33147c9475 winegcc: Use explicit library file name when loading cross libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 12:32:15 +09:00
Jens Reyer d2d44610a2 winegcc: Document WINEBUILD in the manpage.
Signed-off-by: Jens Reyer <jre.winesim@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 12:11:55 +09:00
André Hentschel b33fab40d3 winegcc: Sync toolchain detection with winebuild.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 08:08:46 +01:00
Stephen Kitt 312b7b43cb winegcc: Pass through -march to winebuild.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-15 09:12:22 +01:00
Alexandre Julliard 097006b146 winegcc: Disable setting image base address on Android.
The Android linker doesn't handle this correctly.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 23:30:10 +09:00
Alexandre Julliard bf73faefc7 winegcc: Force stack alignment on all x86 platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 22:52:41 +09:00
Alexandre Julliard 356e46a1ef makefiles: Generate rules for installing symlinks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:07 +09:00
Alexandre Julliard da340169d6 makefiles: Generate rules for installing programs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:06 +09:00
Alexandre Julliard 7626728b56 makefiles: Generate rules for building tool binaries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 14:47:27 +09:00
Michael Cronenworth a35f9a13a8 winegcc: Check for linker relocation support before relying on prelink.
Prelink was used to rewrite binares and set their text segment, but
modern linkers support setting the value at link time. Prelink is
being retired by upstream.

Signed-off-by: Michael Cronenworth <mike@cchtml.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 16:57:06 +09:00
Gerald Pfeifer 189ffc2e73 makefiles: Support building with non-default LD. 2015-01-22 21:42:25 +01:00
André Hentschel 20006966ab winegcc: Respect TMPDIR environment variable. 2014-09-24 11:04:54 +02:00
Alexandre Julliard 1b02177a55 winegcc: Only pass large-address-aware option for i386 builds. 2014-04-29 16:07:37 +02:00
Grazvydas Ignotas f5e28fff8e winegcc: Define __stdcall and similar attributes to nothing on ARM. 2014-03-03 17:02:38 +01:00
Alexandre Julliard 4a4006d4f0 winegcc: Forward -marm and -mthumb options to winebuild. 2014-02-12 19:15:25 +01:00
Alexandre Julliard 658057ae0b makefiles: Add makefile variables for the winegcc parameters. 2014-02-10 10:58:02 +01:00
Alexandre Julliard 509364e1dd makefiles: Get rid of Make.rules. 2014-01-14 12:18:02 +01:00
Alexandre Julliard 0d533cf0bd makefiles: Allow define arguments to be specific to a single file. 2014-01-07 12:20:25 +01:00
Alexandre Julliard ce25c89585 makedep: Don't expand variable references that use ${}. 2014-01-04 20:33:57 +01:00
Alexandre Julliard 092f37fc2d makefiles: Include program files in the all: target. 2013-12-31 19:07:49 +01:00
Alexandre Julliard 1047e0474d makefiles: Leave it to install-sh to create destination directories. 2013-12-26 14:35:15 +01:00
Alexandre Julliard e2df0ab856 makefiles: Generate rules from makedep for building and installing man pages. 2013-11-18 11:40:00 +01:00
Alexandre Julliard fabd3120c5 makefiles: Move the main module rules to the global Make.rules file. 2013-10-09 11:31:21 +02:00
Alexandre Julliard 8d5b8b1346 makefiles: Define __WINESRC__ globally. 2013-10-07 10:48:04 +02:00
Francois Gouget 575eb6d8e1 winegcc: Solaris uses the same link option detection code as other platforms. 2013-09-06 17:27:13 +02:00
Francois Gouget 7d3f6d4c60 winegcc: Ignore the test link command stdout and stderr messages.
Otherwise invoking winegcc on any platform where our first guess at
the link options fails results in a lot of confusing error messages.
2013-09-06 17:27:08 +02:00
Francois Gouget 4343c9e1f7 winegcc: Add a trailing '\n' to the try_link() test file.
This stops the tested gcc command from issuing a warning on Solaris.
2013-09-06 17:26:18 +02:00
Huw Davies 5a8ca9e2e8 winegcc: Don't use DLLFLAGS in winegcc. 2013-08-27 21:30:02 +02:00
Huw Davies 2374cd52a7 winegcc: Set the LDDLLFLAGS according to the target platform. 2013-08-27 21:30:02 +02:00
Frédéric Delanoy d8465b0e8b winegcc: Fix manpage formatting. 2013-07-17 20:30:49 +02:00
Alexandre Julliard dcc97a186d Standardize the BUGS, AVAILABILITY and SEE ALSO sections across all man pages. 2013-07-16 20:48:05 +02:00
Alexandre Julliard 3987913453 winegcc: Pass the C compiler name to winebuild. 2013-06-10 13:43:48 +02:00
Jacek Caban c3b64d94b5 winegcc: Use gcc -shared instead of dllwrap to build DLLs. 2013-05-08 20:43:21 +02:00
André Hentschel c11da76dc5 winegcc: Add support for Multiarch Architecture Specifiers. 2013-04-23 19:12:58 +02:00
André Hentschel 504925a8f7 winegcc: Set target based on forced pointer size. 2013-04-23 19:12:56 +02:00
Alexandre Julliard 43ac582d7d libport: Rename spawnvp to _spawnvp to avoid the deprecated name. 2013-04-09 15:26:10 +02:00
André Hentschel ee7ffdcb53 winegcc: Remove SPARC support. 2013-03-11 10:50:10 +01:00
Alexandre Julliard 381bbe1b28 winegcc: Don't use prelink when cross-compiling. 2013-02-18 16:36:03 +01:00
André Hentschel 99f722e24f winegcc: Add ARM64 support. 2013-01-16 12:37:41 +01:00