Alexandre Julliard
f9ee0d2f05
tools: Avoid using wine/port.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02: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
2a08d6ce80
tools: Add helper functions to spawn a command from an strarray.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-28 18:18:49 +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
Connor Abbott
f1ab3c8d76
winegcc: Recognize .obj files as objects.
...
For more compatibility with mingw-gcc. Since meson always names object
files with a .obj extension when using mingw, this improves
compatibility with meson.
Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 16:53:51 +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
Chip Davis
f83646736b
winegcc: Put quotes around arguments with spaces when printing them.
...
This makes it easier to copy and paste the command into the shell.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 10:46:03 +02:00
Jacek Caban
945c61c32d
winegcc: Lookup PATH in find_binary and don't try to run binaries that can't be found.
...
Based on winebuild.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:22:07 +01:00
Alexandre Julliard
21c832da63
winegcc: Also check magic number to detect shared libraries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-04 22:43:01 +01: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
Huw Davies
2374cd52a7
winegcc: Set the LDDLLFLAGS according to the target platform.
2013-08-27 21:30:02 +02:00
Alexandre Julliard
43ac582d7d
libport: Rename spawnvp to _spawnvp to avoid the deprecated name.
2013-04-09 15:26:10 +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
Alexandre Julliard
1aea4efd79
tools: Take into account the executable extension when looking for tools in the path.
2009-08-27 13:35:50 +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
Alexandre Julliard
f12e9a026b
winegcc: Fix the file mode check.
2008-12-12 12:01:46 +01:00
Francois Gouget
dc3feef055
winegcc: Modify error() to behave like all the other Wine tracing methods, that is to not append a '\n' to the message.
2007-10-19 11:46:05 +02: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
870d490eec
winegcc: Look for libraries in subdirs of the library path too.
...
This means that -lfoo will match the library 'foo/libfoo.def' in
addition to just 'libfoo.def'. This allows supporting the Wine source
layout without adding a gazillion path entries.
2006-03-16 16:28:04 +01:00
Alexandre Julliard
3a503499aa
Properly handle the case where vsnprintf returns -1.
2005-09-12 20:31:33 +00:00
Alexandre Julliard
866f52bce1
Ignore prelink failures.
2005-08-09 20:47:18 +00:00
Francois Gouget
f5c9da6860
Assorted spelling fixes.
2005-05-06 15:44:31 +00:00
Alexandre Julliard
b30d92dfb2
Fixed other instances of the xrealloc(0) bug.
2005-03-18 14:09:55 +00:00
Dimitrie O. Paun
b613ee7abb
First cut at -shared support.
2004-03-23 00:14:54 +00:00
Pierre d'Herbemont
ec132fe84d
Support Darwin ".dylib".
2004-03-15 20:06:06 +00:00
Alexandre Julliard
9578430021
chmod is more portable than fchmod.
2004-03-10 01:53:57 +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
Alexandre Julliard
acead48cf8
Fixed a couple of crashes.
2004-03-09 03:44:52 +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
Gerald Pfeifer
c5dc9d29e1
Add proper casts to avoid signed vs. unsigned mismatches in
...
strmake().
2003-10-30 23:09:09 +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