Commit Graph

19 Commits

Author SHA1 Message Date
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 ac1bd4d15c Add a wine specific mode. If is activated if the -B prefix ends with
/tools/winebuild. If you happen to have such a prefix, but you don't
want this behaviour, simply add a trailing '/'. In this special mode,
no default Win32 DLLs are linked in, we don't force the short wchar_t,
and the standard dirs are not searched.
2004-03-09 04:20:58 +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 b8fc5282a8 Support processors made up of different commands.
Rename some processor enums for consistency.
2004-03-09 00:42:21 +00:00
Dimitrie O. Paun 4ea598e068 Preserve the relative order of files and libraries. We do so by
maintaining a unique list of files and lib, each marked with the
appropriate metadata.
2004-03-04 06:06:06 +00:00
Alexandre Julliard 3034c287ea Put the .spec.o file first and the so libraries last on the link
command line.
2004-03-03 22:38:25 +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
Alexandre Julliard 4f452b632b Removed obsolete --dll option from loader script.
Added support for WINEBUILD environment variable.
Don't generate the loader script if the output file name ends in
.exe.so.
Fixed handling of -L option.
Static libraries have to be linked in after object files.
2004-03-02 05:00:17 +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
Dimitrie O. Paun 69880eb587 Rewrite winegcc in preparation for merging with winewrap.
We now have comprehensive (and correct) options parsing.
2004-02-21 04:01:38 +00:00
Alexandre Julliard 6a1a6c71bb libwine_uuid has been renamed to libuuid. 2004-02-09 21:11:08 +00:00
Richard Cohen 6bfd84a331 Handle default linker output name in winewrap instead of winegcc. 2003-09-19 00:19:36 +00:00
Dimitrie O. Paun 120abaed95 Teach winegcc to masquerade as cpp. 2003-09-15 20:02:30 +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
Alexandre Julliard 280661c6f4 Moved winegcc and winewrap to a separate directory. 2003-09-11 21:27:58 +00:00