Alexandre Julliard
5e12256ec4
winebuild: Add a specific platform id for Linux.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-06 15:50:26 +02:00
Alexandre Julliard
ad43872669
winebuild: Add a --prefer-native option to set a Wine-specific flag in the PE header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-18 11:06:06 +01:00
Jacek Caban
ea5e89a545
winebuild: Make mingw a separated platform from msvc.
...
Based on winegcc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-26 09:02:04 +01:00
Alexandre Julliard
c1a700f018
winebuild: Generate Thumb2-compatible assembly code on ARM.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-19 09:42:26 +01:00
Kevin Puetz
48cccee394
winebuild: Find WinMain/wWinMain in static libraries.
...
Signed-off-by: Kevin Puetz <PuetzKevinA@JohnDeere.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 22:18:21 +01:00
Kevin Puetz
bf5893f489
winebuild: Find main/wmain in static libraries.
...
Have the winebuild -spec.o include an undefined .globl referencing
symbols we know the winecrt0 entry point will eventually reference,
so ld knows about that need while scanning library archives.
Signed-off-by: Kevin Puetz <PuetzKevinA@JohnDeere.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 22:18:21 +01:00
Kevin Puetz
a1078d4770
winebuild: Select all __wine_spec_exe* entry inside winebuild.
...
Override --entry in winegcc only when it applies to any compiler
(e.g. kernel drivers or msvcrt) but leave spec details to winebuild.
Forward -municode so winebuild will know which to use.
Signed-off-by: Kevin Puetz <PuetzKevinA@JohnDeere.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 22:18:20 +01:00
Alexandre Julliard
e6632e0412
winebuild: Don't use a dll entry point for Unix libraries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-01 10:59:35 +02:00
Alexandre Julliard
7933562048
winebuild: Support a -mno-cygwin flag.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-01 10:59:35 +02:00
Jacek Caban
e4e05cdaab
winebuild: Introduce --safeseh option that allows marking assembly files as SEH compatible.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-06 19:02:55 +02:00
Alexandre Julliard
7193243431
winebuild: Don't use a constructor for dll modules either.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-21 11:27:33 +02:00
Alexandre Julliard
6c4046fef1
winebuild: Add --fixup-ctors option to allow intercepting constructors in .so files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:03 +02:00
Alexandre Julliard
a4677fa23a
winebuild: Only generate a constructor for dll modules.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-15 20:03:30 +02:00
Jacek Caban
c0467a1470
winebuild: Add an option to build a static library.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-04 22:43:41 +01:00
Jacek Caban
d24503fecf
winebuild: Check more target components for platform string.
...
Fixes parsing llvm style mingw target *-pc-windows-gnu.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:34:51 +01:00
Alexandre Julliard
9dc348a071
winebuild: Add a --builtin option to mark PE files as builtins.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-18 21:13:13 +01:00
Alexandre Julliard
6ba101b229
winebuild: Add support for the -B option.
...
Based on a patch by Kevin Puetz.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-10 23:20:41 +02:00
Jacek Caban
dd1a83c20a
winebuild: Don't include aliases in importlib .def files.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-26 17:41:11 +02:00
Alexandre Julliard
907896fba5
winebuild: Set the default entry point also for Windows builds.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47410
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 17:44:03 +02:00
Michael Stefaniuc
dd0e2616a7
winebuild: Use the now available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 20:41:26 +02:00
Alexandre Julliard
5061261c5e
winebuild: Add a -munix option.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 09:24:25 +02:00
Alexandre Julliard
ded2e82f16
winebuild: Don't even try to resolve imports for PE builds.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Alexandre Julliard
e4b9a501a3
winebuild: Support generating a .spec.o file for Windows platforms.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:02:04 +01:00
Alexandre Julliard
0cdab409ad
winebuild: Rename BuildSpec32File() for consistency.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:17 +01:00
Alexandre Julliard
aa0572f0a2
winebuild: Open the output file only when needed.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 14:49:02 +01:00
James Larrowe
f97636bc49
winebuild: Fix a segmentation fault.
...
When 'winebuild' is called with no arguments, the make_c_identifier
function is passed a null pointer, which is dereferenced and causes
a segmentation fault.
Signed-off-by: James Larrowe <larrowe.semaj11@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-14 17:25:49 +01:00
Alexandre Julliard
0fd533836b
winebuild: Pass the -mfpu option to the compiler/assembler.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 20:20:25 +01:00
Alexandre Julliard
0c42b33a0b
winebuild: Add support for -mfloat-abi option.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 16:45:55 +01:00
Alexandre Julliard
05399ad711
winebuild: Store a C-compatible version of the dll name.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 15:20:38 +09:00
Alexandre Julliard
d65446af3d
winebuild: Use strarray objects for a few more string arrays.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-21 15:26:24 +09:00
Alexandre Julliard
8baaf5349f
winebuild: Use strarray objects instead of pointers where possible.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-19 13:14:41 +09:00
Stephen Kitt
33c729bb1b
winebuild: Add support for -march.
...
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:11:33 +01:00
Alexandre Julliard
1097384377
winebuild: Avoid assigning values outside of the target_cpu enum range.
2015-03-04 21:50:29 +09:00
Alexandre Julliard
6c807b7472
winebuild: Add support for -marm and -mthumb target flags.
2014-02-12 19:15:24 +01:00
Alexandre Julliard
98e6a0da73
winebuild: Add an option to use the C compiler to assemble files.
2013-06-10 13:19:34 +02:00
Alexandre Julliard
f7272176d9
winebuild: Split the names of the as and ld commands to allow arguments.
2013-06-10 13:17:21 +02:00
André Hentschel
0ee8e2b5b1
winebuild: Remove SPARC support.
2013-03-11 10:50:12 +01:00
Tijl Coosemans
afd7dc5947
winebuild: Don't register cleanup function when --save-temps is passed after --output.
2013-03-05 09:37:29 +01:00
André Hentschel
3f393a6552
winebuild: Add ARM64 support.
2013-01-16 12:37:39 +01:00
Damjan Jovanovic
4768b11c24
winebuild: Support the mingw32 target without an i[3456]86- prefix.
2012-06-15 18:35:34 +02:00
Robert Millan
535a55ec9e
configure: Add GNU/kFreeBSD detection.
2011-08-24 11:58:15 +02:00
André Hentschel
c44dead5f6
winebuild: Use -mcpu option for the assembler.
2011-04-28 12:10:30 +02:00
André Hentschel
46f52f77dc
winebuild: Remove Alpha support.
2011-04-20 13:11:27 +02:00
André Hentschel
d5aa3d1cc9
winebuild: Add subsystem wince.
2010-11-09 11:44:10 +01:00
André Hentschel
d0f434eb3a
winebuild: Don't segfault when run without arguments.
2010-09-07 17:58:27 +02:00
Alexandre Julliard
4bfdad159b
winebuild: Get rid of the ignored symbol support.
2010-08-02 12:55:19 +02:00
Alexandre Julliard
7f6831aa9a
winebuild: Add a -m16 option to specify a 16-bit build.
2010-07-21 13:24:01 +02:00
Kirill Smelkov
0b4fe5e56a
winebuild/winegcc: Allow building .dll.so without .spec file.
2010-04-26 11:38:06 -05:00
Alexandre Julliard
3dfbbb597c
winebuild: Support for -fasynchronous-unwind-tables flag to enable/disable CFI generation.
2010-04-11 12:49:15 +02:00
Alexandre Julliard
539da1b073
winebuild: Output the 16-bit asm relay functions as needed and get rid of --relay16 mode.
2010-01-16 15:58:48 +01:00