Commit Graph

80 Commits

Author SHA1 Message Date
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
Mike Frysinger 5392844392 Add support for 'make install DESTDIR'. 2006-02-14 13:51:38 +01:00
Mike Frysinger ff6b466563 winegcc: Pass -m32/-m64 along to the linker. 2006-01-25 13:15:34 +01:00
Alexandre Julliard ec34a66612 Ignore symlink files too (needed for git). 2005-11-26 13:12:57 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 12a749984c Put Wine version information in all the man pages. 2005-10-06 16:10:01 +00:00
Alexandre Julliard 102617f186 Let winebuild take care of calling the assembler.
Pass -v and -save-temps options through to winebuild too.
2005-09-21 11:00:21 +00:00
Alexandre Julliard a999a990fe Create an assembly file with all undefined symbols and add it to the
link command so that the symbols show up in the final undefined list.
Use that list to create thunks for all exported but undefined symbols,
to make sure all export RVAs point somewhere inside the module.
2005-09-19 17:04:43 +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 3a503499aa Properly handle the case where vsnprintf returns -1. 2005-09-12 20:31:33 +00:00
Alexandre Julliard 9bca150c0f Implemented --image-base support for Mac OS. 2005-09-03 15:12:11 +00:00
Alexandre Julliard 0628c7eba6 Moved more of the spec initialization code to the winecrt0 library,
and get rid of implicit kernel32 imports.
2005-08-29 14:16:27 +00:00
Alexandre Julliard 3ccbb018a0 Added a -municode flag to winegcc for applications that have a wmain()
entry point.
2005-08-25 19:26:59 +00:00
Alexandre Julliard 71ae2d7bed Beginnings of a crt0 library. 2005-08-25 11:41:05 +00:00
Alexandre Julliard 866f52bce1 Ignore prelink failures. 2005-08-09 20:47:18 +00:00
Alexandre Julliard adbb098837 Added support for the --image-base linker option in winegcc using the
prelink tool.
2005-08-09 11:12:29 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Alexandre Julliard 61d01e6a3e For each imported dll, check if there is a static library with the
same base name as the import library, and if yes add it to the library
list.
2005-05-09 14:38:06 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Alexandre Julliard b12ad3ad7b output_name already contains .exe extension, don't add it again for -F
option.
2005-05-05 16:44:38 +00:00
Alexandre Julliard b30d92dfb2 Fixed other instances of the xrealloc(0) bug. 2005-03-18 14:09:55 +00:00
Dimitrie O. Paun cfb6c8ebca Use -isystem for system includes as they should be processed after the
-I includes. Spotted by Boaz Harrosh.
2005-03-11 10:25:59 +00:00
Dimitrie O. Paun c02dd0a902 Add support for .exe's with exported functions. 2005-03-08 16:55:26 +00:00
Vincent Béron 1ec033cff1 Create symlinks named wineg++ and winecpp while building winegcc. 2005-03-05 11:21:50 +00:00
Dimitrie O. Paun 4e0c3aa551 Added a new man page for winegcc. 2005-01-28 11:32:01 +00:00
Paul Millar 10a6c56071 Check for features missing in mingw environment, allowing tools
subdirectory to be cross-built again.
2004-12-07 17:19:54 +00:00
Eric Pouech 763aff61a0 Another couple of missing static definitions. 2004-12-06 16:44:32 +00:00
Alexandre Julliard 7bfda49772 Clean up temp files also when killed by a signal. 2004-12-02 18:22:48 +00:00
Alexandre Julliard 0bc8502390 Pass DLLFLAGS to winebuild too. 2004-11-22 19:48:10 +00:00
Alexandre Julliard b4c7e6c7e2 Added --ld-cmd and --nm-cmd options in winebuild, and make winegcc
pass the proper ld command.
2004-10-08 21:11:18 +00:00
Emmanuel Maillard 2300ce663a - Update build system to support IOKit and CoreFoundation frameworks
on Darwin.
- Add support for the -framework "name" linker option.
- NtQueryVolumeInformationFile set device info on Darwin.
2004-08-19 01:20:45 +00:00
Jon Griffiths a270615fdb Always use $(CC) for building the generated .spec.c file. 2004-05-25 18:03:19 +00:00
Dimitrie O. Paun f950d97381 Remove the last remaining wine options when running programs.
Keep support for --help, and --version when they are the only options
on the command line.
2004-05-06 23:51:43 +00:00
Dimitrie O. Paun 46b1d49a88 Implement support for the -x <lang> option. 2004-04-16 23:30:32 +00:00
Paul Vriens 8bed3a7b3f Correct removing wineg++ link on an uninstall. 2004-04-16 23:29:30 +00:00
Dimitrie O. Paun 1595729abc Specify the right name for the Winelib shared object. 2004-04-09 19:02:18 +00:00
Alexandre Julliard da59e93af0 Fixed handling of .so and .a libraries specified as input files. 2004-03-31 00:56:14 +00:00
Alexandre Julliard 4cf091ab09 Replaced the --mode winebuild option by a --subsystem option for
better compatibility with the PE binutils.
2004-03-25 00:40:52 +00:00
Alexandre Julliard 39c961aad6 Take EXEEXT into account for PE builds. 2004-03-25 00:13:21 +00:00
Alexandre Julliard c4aacf0e81 Build the dlls with winegcc. 2004-03-24 03:34:00 +00:00
Dimitrie O. Paun 9169b41003 Add a default .dll extension only when no extension is present. 2004-03-23 23:03:12 +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
Dimitrie O. Paun c6e5ddf04e Build all file consistently, without shortcuts.
Do not pass winebuild escaped options to the compiler.
2004-03-11 22:42:39 +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
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