Commit Graph

138 Commits

Author SHA1 Message Date
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
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 fabd3120c5 makefiles: Move the main module rules to the global Make.rules file. 2013-10-09 11:31:21 +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
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
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
Damjan Jovanovic d31f61414c winegcc: Support the mingw32 target without an i[3456]86- prefix. 2012-06-15 18:35:34 +02:00
Eric Pouech b21da1d701 winegcc: Try harder to find out whether the compiler is from gcc family. 2012-05-11 15:39:21 +02:00
Alexandre Julliard 5adfd065bb winegcc: Avoid including Windows headers in the Mingw unicode stub. 2011-10-26 17:38:19 +02:00
Charles Davis 486783626f winegcc: On Mac OS, turn -s into -Wl,-x. 2011-10-06 12:24:05 -05:00
Bernhard Loos de68bc3bf4 winegcc: Support a trailing / in paths to winebuild. 2011-08-23 16:53:51 +02:00
Frédéric Delanoy 701aabb141 tools: Assorted spelling fixes. 2011-07-29 12:09:12 +02:00
André Hentschel bddc08db75 winegcc: Forward -mcpu to winebuild. 2011-04-28 12:11:25 +02:00
André Hentschel 40cecfc20d winegcc: Remove Alpha support. 2011-04-20 13:10:54 +02:00
Eric Pouech a5cbdcb8bb winegcc: Check that option argument is within command line parameters. 2011-03-28 17:24:56 +02:00
Eric Pouech 34acd88a2e winegcc: Correctly manage the -V option (gcc expects to be among the first ones, with -b). 2011-03-16 14:14:22 +01:00
Alexandre Julliard 62f9966fdc winegcc: Fix the lib dir detection.
Spotted by André Hentschel.
2010-10-28 11:45:05 +02:00
Alexandre Julliard 81b1c3ed60 winegcc: Detect the appropriate lib directory for 32/64 cross-builds. 2010-10-25 20:42:00 +02:00
Alexandre Julliard f195c1eb5a winegcc: Don't import winecrt0 by default when building with -nodefaultlibs. 2010-07-26 12:46:00 +02:00
Alexandre Julliard 9f34a57743 winegcc: Import kernel32 and ntdll by default also when building Wine.
They are needed to resolve symbols in winecrt0 which is always imported.
2010-07-21 17:38:36 +02:00
Alexandre Julliard 121a7f7840 winegcc: Don't pass -nodefaultlibs to the Unix compiler so that it can be used by Wine. 2010-07-21 17:10:10 +02:00
Alexandre Julliard 0c7b27aa14 winegcc: Add support for a -m16 option to specify a 16-bit build. 2010-07-21 13:24:01 +02:00
Peter Davies 1b23130d74 winegcc: Enable the use of gcov and PGO. 2010-06-21 11:47:51 +02:00
André Hentschel 7d7562d739 winegcc: Add detection for --param options. 2010-06-16 11:44:49 +02:00
Alexandre Julliard 5f7bbb2ab2 winegcc: Load the Unicode argv dynamically from the generated stub. 2010-06-15 19:58:15 +02:00
Alexandre Julliard ba9ec152e1 winegcc: Add explicit support for the Cygwin platform.
On Cygwin we want to use Wine's msvcrt, unlike on Mingw.
2010-06-14 19:27:41 +02:00
André Hentschel b723530be0 winegcc: Add support for amd64-mingw32msvc platform. 2010-05-25 12:03:01 +02:00
Kirill Smelkov b25cd21df2 winegcc: Do use DSO full name for .so arguments. 2010-04-26 11:38:13 -05:00
Kirill Smelkov 0b4fe5e56a winebuild/winegcc: Allow building .dll.so without .spec file. 2010-04-26 11:38:06 -05:00
Eric Pouech 22da105b4d winegcc: When specifying -m32, force i386 cpu when compiling on x86_64 boxes. 2010-04-20 11:16:29 +02:00
Eric Pouech d4dfcc1f32 winegcc: On x86-64, don't define twice the fastcall macros. 2010-04-20 11:15:48 +02:00
Alexandre Julliard 5288196f78 winegcc: Add support for the -fasynchronous-unwind-tables option. 2010-04-11 12:49:15 +02:00
André Hentschel 6c8af38638 winegcc: Make condition easier to read and look like the statement after the block. 2010-03-24 21:53:05 +01:00