Commit Graph

35 Commits

Author SHA1 Message Date
Alexandre Julliard d969d02e21 tools: Move target CPU and platform handling to the common tools.h header.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-18 11:50:30 +01:00
Alexandre Julliard 8cd3679848 winegcc: Get rid of PowerPC support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-18 11:16:17 +01:00
Alexandre Julliard 9e3959bd9b tools: Add a few helper functions for file names and extensions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Alexandre Julliard 97ca9f8a3d tools: Add a shared header for common helper functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 17:38:06 +02:00
Alexandre Julliard 2064181c1f winegcc: Unify the strarray implementation with the one from makedep.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-23 14:45:39 +02:00
Jacek Caban 69ef7374b4 winegcc: Link unix libs directly to native libraries.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-01 17:59:46 +02:00
Jacek Caban 2dee9b9874 winegcc: Make mingw a separated platform from msvc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-04 17:33:28 +02:00
Serge Gautherie 0939a3f7f2 winegcc: Reorder DECLSPEC_NORETURN on error().
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-23 12:57:45 +02:00
Alexandre Julliard cb010cd6ec winegcc: Add ARRAY_SIZE macro.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:17 +02:00
Alexandre Julliard 13850a3eb8 winegcc: Forward the -B options to winebuild.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-10 23:20:41 +02: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
Huw Davies 2374cd52a7 winegcc: Set the LDDLLFLAGS according to the target platform. 2013-08-27 21:30:02 +02:00
André Hentschel ee7ffdcb53 winegcc: Remove SPARC support. 2013-03-11 10:50:10 +01:00
André Hentschel 99f722e24f winegcc: Add ARM64 support. 2013-01-16 12:37:41 +01:00
André Hentschel 40cecfc20d winegcc: Remove Alpha support. 2011-04-20 13:10:54 +02:00
Alexandre Julliard ff090a3468 winegcc: Add a printf format attribute to the strmake() function. 2010-08-02 12:55:19 +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 115b50cc23 winegcc: Update comments. 2010-01-25 12:45:00 +01:00
Alexandre Julliard 07af19f3ab winegcc: Add support for specifying a custom static library suffix. 2010-01-23 20:25:20 +01:00
André Hentschel e0dac25ba3 winegcc: Add ARM support. 2009-09-24 13:30:04 +02:00
Alexandre Julliard 6f74b45a81 winegcc: Add support for building PE executables using Mingw. 2009-06-01 16:15:53 +02:00
Alexandre Julliard 3472939255 winegcc: Support -b option for cross-compiling. 2009-02-02 15:21:36 +01:00
Joris Huizer 909425d99d winegcc: Sign-compare fixes. 2007-02-12 12:39:16 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 866f52bce1 Ignore prelink failures. 2005-08-09 20:47:18 +00:00
Dimitrie O. Paun b613ee7abb First cut at -shared support. 2004-03-23 00:14:54 +00:00
Alexandre Julliard 2d52cfa958 Allow multiple -B options.
Do not pass the -Btools/winebuild magic option to the compiler to
avoid warnings.
Pass to the linker even the libraries we didn't find in the lib search
path, in case we are not using the standard paths.
2004-03-09 04:49:42 +00:00
Dimitrie O. Paun fb1ae96cf7 Add -B prefix support. Small consistency cleanups. 2004-03-09 01:34:00 +00:00
Dimitrie O. Paun 2ab690bcbb Don't tie the script name to the .exe.so name. 2004-03-03 20:11:20 +00:00
Dimitrie O. Paun 5f0796dbd2 Add support for passing options to winebuild via -Wb.
Generate only the loader script when given just the .exe.so.
Add function to delete element from a strarray.
2004-03-02 06:53:16 +00:00
Dimitrie O. Paun f41c2b212a Instrument winegcc to use the compilers and options detected at
configure time. Add support for parsing/formatting a string array
from/to a char string. Add option to disable short wchar support in
winegcc.
2004-03-02 02:23:26 +00:00
Dimitrie O. Paun 006ec80dd5 For static libs (.a) we need to pass the actual filename to winebuild,
not a -l switch. Do not remove the file extension to get to the base
name if it's not .exe or .exe.so. Link shell32 by default for GUI
programs. Fix parsing of options with arguments.
2004-02-26 05:28:35 +00:00
Dimitrie O. Paun e11108c077 Merge winewrap into winegcc. Many cleanups. 2004-02-24 01:00:53 +00:00
Daniel Marmier f95be92d24 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-15 03:35:54 +00:00
Richard Cohen 2e6eed67cd Use an extendable array to store the lists of strings.
Only make wrapper argument lists if we're going to use them.
2003-09-11 22:16:33 +00:00