Alexandre Julliard
7555fd57e3
winebuild: Add a helper for generating RVA pointers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:19 +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
Alexandre Julliard
39698f5468
winebuild: Align resource data to dword boundaries even on 64-bit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-18 22:55:34 +01: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
Charles Davis
77960ab755
winebuild: Specify an object format to windres.
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 01:50:10 +09:00
Dmitry Timoshkov
8cf8285add
winebuild: Write actual (not aligned) sizes in the resource headers.
2014-01-02 15:50:12 +01: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
4f1beed106
winebuild: Remove get_asm_short_keyword.
2013-03-11 11:44:57 +01:00
André Hentschel
14ac50c7b7
winebuild: Remove dead code (clang).
2011-07-04 13:43:15 +02:00
Marcus Meissner
0806f9a438
winebuild: Avoid a superflous null check (Coverity).
2011-06-14 15:26:18 +02:00
Alexandre Julliard
8639550155
winebuild: Allow duplicate resources with different versions and keep the highest version.
2010-12-28 16:35:40 +01:00
Alexandre Julliard
b03059cbda
winebuild: Add a spawn() helper function to avoid starting a shell where possible.
2010-08-02 12:55:12 +02:00
Alexandre Julliard
58dddbed23
winebuild: Add more checks to protect against corrupted resource files.
2010-07-20 16:28:17 +02:00
Alexandre Julliard
38ca263374
winebuild: Simplify the code for finding the various build tools.
2009-12-30 12:42:25 +01:00
Alexandre Julliard
ef4a3c3c2d
winebuild: Add support for creating a fake dll at compile time.
2009-08-14 14:16:38 +02:00
Alexandre Julliard
99037aa9cc
winebuild: Compute the resource offsets while building the resource tree.
2009-08-14 14:11:34 +02:00
Alexandre Julliard
47497cb26a
winebuild: Add helper functions for writing binary data to a file.
2009-08-14 13:59:11 +02:00
Alexandre Julliard
b935cc210c
winebuild: Add helper functions for reading binary data from a file.
2009-08-14 13:59:10 +02:00
Alexandre Julliard
f0ea22ba87
winebuild: Dump resource data as dwords to reduce the output file size.
2009-07-09 12:54:16 +02:00
Stefan Dösinger
07e835fffb
winebuild: Open resource files in binary mode.
2009-06-26 12:01:27 +02:00
Alexandre Julliard
2189b101de
winebuild: Enforce header size alignment when outputting resources.
2009-06-23 15:53:00 +02:00
Alexandre Julliard
6cf96bf940
winebuild: Add possibility to generate a global resource file without running it through windres.
2009-06-22 11:46:33 +02:00
Alexandre Julliard
e112286366
winebuild: Add detection of duplicate resources.
2009-06-02 14:25:01 +02:00
Alexandre Julliard
a328834f5b
winebuild: Add a --resources mode that compiles multiple resource files into a single object.
2009-06-02 13:20:43 +02:00
Alexandre Julliard
b374e7e36e
winebuild: Don't include any Windows header to avoid data types dependencies.
2009-04-09 20:58:43 +02:00
Andrew Talbot
5df3ff13e7
winebuild: Replace inline static with static inline.
2007-03-17 20:05:12 +01:00
Alexandre Julliard
715804999e
winebuild: Added output() function to properly deal with write errors.
2006-08-11 20:41:29 +02:00
Alexandre Julliard
fb15dabdcd
winebuild: Fix a few printf format warnings by casting size_t.
2006-06-13 14:14:59 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
2aae74dff0
Factor out a couple of useful helper functions.
2005-09-21 11:50:04 +00:00
Alexandre Julliard
80083b18f8
Store RVAs instead of pointers wherever possible in the generated NT
...
header and directories.
2005-09-17 14:39:51 +00:00
Alexandre Julliard
9f49889188
Now that everything is done in assembly in the spec file, directly
...
generate a .s file to bypass gcc inefficiency with large data
structures.
2005-09-15 15:01:30 +00:00
Alexandre Julliard
41177ca0bd
Output the resource data in assembly too.
2005-09-15 09:42:22 +00:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard
e6c7669226
Generate the NT header in assembly instead of using a C structure.
2005-09-07 11:44:16 +00:00
Alexandre Julliard
88aa4b524d
Byteswap the resources if we detect that the header is in the wrong
...
endianness.
2005-08-10 13:04:23 +00:00
Marcus Meissner
2d7e976eed
Fixed signedness warnings.
2005-07-10 17:45:53 +00:00
Alexandre Julliard
a583b2570b
Generate the resource data directly inside the resource directory.
2005-06-05 18:36:24 +00:00
Jon Griffiths
523d94ae4c
-Wunsigned fixes.
2005-03-18 14:04:07 +00:00
Alexandre Julliard
86d4a70baa
Fill in the proper offsets in the resource directory instead of
...
relying on the compiler to do it.
2004-09-07 20:45:03 +00:00
Eric Pouech
d3f8f78c3a
- added size information about most of the generated thunks (import,
...
16/32 relay...)
- marked the wine thunks by inserting specific symbols (to be managed
by wine's dbghelp)
- removed the stabs generation:
+ mostly used by winedbg, and the previous item will replace it for
dbghelp
+ still broken for gdb anyway
- enhanced const correctness
2004-05-18 21:27:44 +00:00
Alexandre Julliard
8611e654fc
Store all information about the current dll in a structure instead of
...
using global variables to make it easier to reuse the parsing
routines.
2004-02-11 06:41:01 +00:00
Richard Cohen
5bcf35a385
Add printf format attributes & fix the warnings.
2003-09-19 00:19:16 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
0c2c71bcae
Resource names don't need a case-sensitive comparison; this avoids
...
depending on libwine_unicode.
2003-04-21 23:27:21 +00:00
Alexandre Julliard
310de886e9
Check file header to differentiate between object files and resources
...
so that the -r option is not necessary.
2002-12-06 23:26:29 +00:00
Dmitry Timoshkov
c63d98038a
Include protection for <unistd.h>, <sys/types.h> and <sys/stat.h>.
2002-08-17 18:28:43 +00:00
Alexandre Julliard
894b188fcf
Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch]
2002-04-25 21:40:56 +00:00
Patrik Stridvall
235da7975b
Made winebuild (almost) compile and work on Windows.
2002-03-11 05:09:02 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00