Commit Graph

1274 Commits

Author SHA1 Message Date
Alexandre Julliard 39c961aad6 Take EXEEXT into account for PE builds. 2004-03-25 00:13:21 +00:00
Alexandre Julliard d1e0782c9e Removed the Unicode exe modes, and instead detect automatically which
mode to use based on the existence of main or wmain.
2004-03-24 03:39:57 +00:00
Alexandre Julliard c4aacf0e81 Build the dlls with winegcc. 2004-03-24 03:34:00 +00:00
Francois Gouget b948778660 Assorted spelling fixes. 2004-03-23 23:20:16 +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
Steven Edwards 0ea344e53a Remove reference to old graphics directory 2004-03-22 21:29:53 +00:00
Pierre d'Herbemont 0ba5ade849 Darwin support for _init/_fini functions and _end symbol. 2004-03-22 21:12:23 +00:00
Kevin Koltzau af373042b6 Add Content Types for a few common extensions. 2004-03-20 19:19:05 +00:00
Richard Cohen b9a12ad3b7 Remove . from default library search path. 2004-03-17 20:48:44 +00:00
Jukka Heinonen 54a8a25b5e DPMI programs now handle pending events. 2004-03-16 01:15:11 +00:00
Jukka Heinonen 70835ebf02 Remove support for generating interrupt handlers. 2004-03-15 20:09:23 +00:00
Pierre d'Herbemont ec132fe84d Support Darwin ".dylib". 2004-03-15 20:06:06 +00:00
Alexandre Julliard fc6fbd01d4 We no longer need to pass --debugmsg -all to winedbg. 2004-03-12 02:05:11 +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
Hannu Valtonen 21731d47ec Added a man page for widl. 2004-03-09 03:49:39 +00:00
Alexandre Julliard acead48cf8 Fixed a couple of crashes. 2004-03-09 03:44:52 +00:00
Robert Shearman cadf6fc192 Accept '-v' flag. 2004-03-09 03:44:22 +00:00
Dimitrie O. Paun fb1ae96cf7 Add -B prefix support. Small consistency cleanups. 2004-03-09 01:34:00 +00:00
Christian Costa 76b7787b58 Add amstream dll (MultiMedia Streams), part of Direct Show. 2004-03-09 01:29:56 +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
Alexandre Julliard a631ef6369 Renamed the symbol for the cpp binary to avoid conflicts with
configure internals.
2004-03-03 20:30:46 +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
Francois Gouget c7201ce3ce Add CEXTRA AND CXXEXTRA fields so we can pass -mno-cygwin to winegcc
but not to wrc which chokes on it. Add RCEXTRA for symetry and for the
user.
Remove T_INIT and get_default_init(). These are obsolete (used to
select the entry-point, WinMain or main).
If the directory contains headers, then add '.' to INCLUDE_PATH.
Specify -mnocygwin during the link stage if we are to link with the
msvcrt.
Transform XXX_APPMODE into XXX_LDFLAGS for more flexibility.
Correctly pass '-mconsole' or '-mwindows' to the link stage.
Remove XXX_BASEMODULE, XXX_SPEC_SRCS and SPEC_SRCS. They are
obsolete.
Add implicit build rules for .c, .cpp, .cxx files so that our settings
(e.g. INCLUDE_PATH) are used.
Fix the rule for building RC files (it was invalid and rejected by
make). Convert it to an implicit rule like the others.
Add rules for 'make clean'.
Add the missing rules for recursive compilation.
Remove obsolete elements from the link command (LDDLLFLAGS,
ALL_LIBRARY_PATH, LIBS).
2004-03-03 02:19:20 +00:00
Dan Kegel 08f25f9982 Fixed typo in test arguments. 2004-03-02 20:53:05 +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 872ed63b77 Removed obsolete definitions from generated makefiles. 2004-03-02 05:00:52 +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
Juan Lang 2faaf2265d Make rsabase.dll self-register. 2004-03-01 21:20:33 +00:00
Alexandre Julliard d0ed9fc604 Use the new .inf script instead of winedefault.reg.
Removed some obsolete code.
2004-02-27 23:34:18 +00:00
Alexandre Julliard 299d5594ce Added wine.inf setupapi script to setup the initial Wine registry
(based on the work of Chris Morgan and Brian Vincent).
2004-02-27 22:04:55 +00:00
Patrik Stridvall 446d6c0ea1 API files update. 2004-02-27 21:28:45 +00:00
Dimitrie O. Paun 905658c463 Generate a simple Makefile that uses winegcc to compile.
No longer generate a configure script, that's project policy.
2004-02-27 21:24:20 +00:00
Dimitrie O. Paun 05ba4b48f1 Remove the no longer used winewrap utility. 2004-02-27 00:42: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
Dimitrie O. Paun a9d4b07166 Fix typo introduced during the path search reorganizaton. 2004-02-20 19:57:56 +00:00
Patrik Stridvall 9c39156efd - API files update.
- Minor bug fixes.
2004-02-20 19:57:42 +00:00
Michael Stefaniuc 8ae9b8926e Added winedump man page, heavily based on the README file. 2004-02-17 22:49:33 +00:00
Alexandre Julliard 492ac292b9 Added support for building a dll from a .def file for cases where we
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Alexandre Julliard 095b498b17 Renamed --exe-mode option to --mode now that it can be used for dlls
too.
2004-02-16 22:24:24 +00:00
Marcus Meissner d496eb08e7 No need to check for DllEntryPoint style constants. 2004-02-16 20:24:32 +00:00
Alexandre Julliard 5e4a5beccb Added native mode dll support (based on a patch by Marcus Meissner). 2004-02-13 22:42:13 +00:00
Dimitrie O. Paun 242885cd03 For each lib dir, look for .so, .def. and .a files, instead of the
other way around.
2004-02-13 20:20:57 +00:00
Ove Kaaven 560a756790 Don't add imported constructs to any typelib output by default. 2004-02-12 00:31:40 +00:00
Ove Kaaven 88bbfadb2c Parse the [input_sync] attribute. 2004-02-11 23:57:58 +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
Alexandre Julliard 6a1a6c71bb libwine_uuid has been renamed to libuuid. 2004-02-09 21:11:08 +00:00
Robert Shearman 932a102dcd Fix proc name reported in delay load failure. 2004-02-09 20:58:42 +00:00
Jon Griffiths 541545b21e Allow API-doc generation for non WINAPI calls (e.g. msvcrt). 2004-02-09 20:44:22 +00:00
Leonardo Quijano Vincenzi 6064b41dff Added check for unhide option. 2004-02-07 01:04:13 +00:00
Kirill Smelkov 5420ec4781 Try to use -fshort-wchar if possible. 2004-02-03 00:09:09 +00:00
Francois Gouget 69e0d0674b Preserve the original WINEDLLPATH so we can load out-of-tree Winelib
applications.
2004-02-02 23:02:57 +00:00
Francois Gouget 15487bcac6 Link with msvcrt and use the msvcrt headers by default to improve the
Visual C++ compatibility.
Add a '--nomsvcrt' option to generate makefiles that do not use
msvcrt.
2004-02-02 23:02:32 +00:00
Francois Gouget b1ff875d0e Update the handling of uuid.
Modify the autoconf script to detect '-z defs' and '-init/-fini'.
2004-01-30 22:55:00 +00:00
Hans Leidekker c9b4f601cb Fixed misuse of scalar reference variable. 2004-01-20 23:37:35 +00:00
Francois Gouget b358b7ad4f Generate ok("...\n") calls. 2004-01-20 21:50:01 +00:00
Alexandre Julliard e97fb4b0d6 Windows rename() needs an unlink() first (reported by Steven
Edwards).
2004-01-18 23:32:56 +00:00
Vincent Béron 8451240526 Added a new flag to wrc, to be used to assess translations
advancement.
2004-01-18 23:24:04 +00:00
Hans Leidekker b2fa420831 Get rid of the static module list. 2004-01-18 22:09:39 +00:00
Vincent Béron 23c4ccf990 Yet another new spec file, this time iccvid.spec. 2004-01-16 02:00:50 +00:00
Alexandre Julliard f33de52f5e Tweaked the init code so that it works properly no matter what linker
options are used.
2004-01-15 04:58:17 +00:00
Eric Pouech 6c08994c36 Be more strict about checks (especially in RVA translations). 2004-01-15 01:47:46 +00:00
Robert Lunnon 16bd45d733 Included limits.h to resolve missing macro definition. 2004-01-14 05:12:33 +00:00
Vincent Béron 7183e443b5 Add yet another spec file for a new dll. 2004-01-13 04:58:44 +00:00
Vincent Béron 5ba5d756cb Add spec files for new dlls. 2004-01-12 21:07:36 +00:00
Dimitrie O. Paun 2bc1816948 Remove the wrapper generation from winewrap, it is no longer necessary
(fixed by Alexandre's constructor patch).
2004-01-09 20:08:22 +00:00
Dimitrie O. Paun a16d725964 Do not fail if we can't load some libs in the wrapper.
No need to link the wrapper with all libs, we know what we need.
2004-01-09 00:33:56 +00:00
Alexandre Julliard 90e075c3c7 If supported, add -init and -fini flags to the linker invocation. 2004-01-09 00:03:55 +00:00
Alexandre Julliard 3604824262 If supported by the linker, prevent the ELF loader from calling the
dll constructors at load time and call them from the dll entry point
instead.
2004-01-08 03:36:53 +00:00
Ove Kaaven 5d267d7372 Added rules to parse library, coclass, dispinterface, and module
definitions, and a number of attributes, and cleaned up a few things.
Started on a typelib generation framework.
2004-01-07 04:21:27 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Chris Morgan d888d36e1d Added winebrowser app that launches a Unix browser. 2004-01-06 20:49:58 +00:00
Mike McCormack 06113289f9 Avoid a crash if the dialog style is missing. 2004-01-02 20:12:25 +00:00
Kirill Smelkov 599b0b73c5 Added mfc/Include and mfc/src as possible places for includes and the
library.
2003-12-15 21:06:55 +00:00
Martin Fuchs f74e715bab Fixed options for winebuild. 2003-12-15 19:50:42 +00:00
Kirill Smelkov 746c6feccf Added test for -fms-extensions to generated configure.ac. 2003-12-15 19:46:34 +00:00
Alexandre Julliard 4715f13209 Moved all the files in graphics/x11drv to dlls/x11drv. 2003-12-05 00:20:27 +00:00
Richard Cohen 698729476c Search for libraries in the order - .so - .def - .a 2003-12-03 03:58:52 +00:00
Alexandre Julliard 177f3d1e25 Removed some no longer used programs. 2003-11-30 01:55:54 +00:00
Alexandre Julliard 0b19a6f7bc Better support for div and ldiv in Winelib apps. 2003-11-28 23:17:28 +00:00
Richard Cohen b29f02a9df - Add standard dll path last instead of first.
- Add standard lib path as well.
- Remove . from default library search path.
- Compiling with -lwine needs to use the given -L paths.
2003-11-28 23:10:55 +00:00
Ivan Leo Murray-Smith 709cc31438 Changed Adam Sacarny's email, and -debugmsg to --debugmsg. 2003-11-26 05:05:17 +00:00
Dimitrie O. Paun c0232546bd Make the winehq.org domain the official one. 2003-11-26 03:55:01 +00:00
Pierre d'Herbemont 794bf0fda0 Add Darwin/Mac OS X support to the build system. 2003-11-25 03:31:26 +00:00
Ivan Leo Murray-Smith a7bdb744c9 Added winver information for windows me and windows server 2003.
Updated date format from YYMMDD to YYYYMMDD.
Changed a few output messages so they are more
intuitive/constructive/up to date.
2003-11-25 01:47:22 +00:00
Alexandre Julliard 15c64e704b Removed the ts_xlib files. 2003-11-21 21:50:59 +00:00
Gerald Pfeifer abeb325cdf Remove wineconf.libs from EXTRASUBDIRS. 2003-11-20 22:02:15 +00:00
Alexandre Julliard f01e7c6364 open_input_file(): try to open the file in the current directory
before trying the source directory.
2003-11-20 04:21:56 +00:00
Dimitrie O. Paun d1b344b1e2 Don't ignore libs specified by the user while linking. 2003-11-20 04:20:17 +00:00
Alexandre Julliard 582f7d5daa Removed obsolete wineconf tcl implementation. 2003-11-18 20:48:13 +00:00
Alexandre Julliard 129f1e6910 Generate the authors list for the shell about dialog from AUTHORS at
compile time. Converted the about dialog to Unicode.
2003-11-18 19:50:24 +00:00
Francois Gouget 72143c68fc Fix the generation of wineapploader in sub directories. 2003-11-18 19:39:11 +00:00
Vincent Béron 778f4b261a Add a couple of missing spec files. 2003-11-17 20:01:20 +00:00
Alexandre Julliard 97657b1dcf Get rid of the msdos/ directory. 2003-11-14 21:12:03 +00:00
Alexandre Julliard 7999469e7d Moved memory/environ.c, memory/virtual.c and misc/cpu.c to
dlls/kernel.
Get rid of the memory/ directory.
2003-11-13 20:58:55 +00:00
Alexandre Julliard a628c13e90 Added a wine-glibc binary that detects the glibc threading in use and
execs the corresponding wine binary.
Removed the --with-nptl configure option.
2003-11-12 03:28:21 +00:00
Alexandre Julliard 6d06d3b927 Cosmetics. 2003-11-11 22:04:33 +00:00
Alexandre Julliard 357c7401b9 Re-use the loader directory for the main wine loader, and get rid of
the miscemu directory.
2003-11-06 01:17:56 +00:00
Alexandre Julliard 18b4cbf12a Put better values for code and data sizes in the NT header of builtin
dlls.
2003-11-03 22:19:44 +00:00
Gerald Pfeifer 4f47bbc277 Change some variables from int to unsigned to avoid signedness
mismatches.
2003-10-30 23:09:25 +00:00
Gerald Pfeifer c5dc9d29e1 Add proper casts to avoid signed vs. unsigned mismatches in
strmake().
2003-10-30 23:09:09 +00:00
Alexandre Julliard 03711317de Better defaults for heap and stack sizes. 2003-10-30 22:49:01 +00:00
Francois Gouget f405629e8e Weekly spelling fixes. 2003-10-28 21:45:30 +00:00
Francois Gouget 1dd5325427 Add support for .dbg.c files. This makes it possible to use the Wine
tracing macros in Winelib applications.
The wine/lib, wine/ole, wine/unicode directories are gone. Simplify
the wine_unicode and wine_uuid detection.
Fix generation of the clean target (in some corner cases it could
generate a $(RM) command with no parameter).
Move the distclean target to the top-level Makefile and make it more
thorough.
Update a few autoconf constructs.
Remote commented out code in wrapper.c. If we need that code we can
always get it from CVS.
2003-10-28 21:13:54 +00:00
Alexandre Julliard 4cb001967a Switch back to the main process stack before calling exception
handlers.
2003-10-28 00:30:55 +00:00
Alexandre Julliard fa755119be libntdll.dll.so no longer exists, check for libntdll.def instead. 2003-10-27 22:14:15 +00:00
Alexandre Julliard e940eb502d Added printing of the target of forwarded exports. 2003-10-27 22:11:57 +00:00
Pierre d'Herbemont e961418bcf Fix PowerPC assembler syntax mistakes. 2003-10-27 22:04:54 +00:00
Alexandre Julliard 2f31228dfe Specify include quotes in the tests.dat file. 2003-10-24 04:43:16 +00:00
Pierre d'Herbemont 6661f30409 Change mctr PowerPC asm instruction to mtctr. Add Support for the
.text section and the .space section of darwin's ld.
2003-10-24 00:27:27 +00:00
Vincent Béron 5fb351b40e Added support for neutral language. 2003-10-22 03:23:36 +00:00
Francois Gouget 56b63e85c3 Update tests.dat to include the various #include fixes.
gcc says that sizeof(long double)==12.
Fix the detection of pragma packs to detect #include <...>.
Generate ok("...\n") calls.
2003-10-21 23:48:13 +00:00
Francois Gouget 3707ed8b68 Change all head/tail -X to head/tail -n X to be more POSIXly
compliant.
2003-10-21 23:47:47 +00:00
Daniel Marmier f95be92d24 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-15 03:35:54 +00:00
Daniel Marmier 4034ff36c0 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-14 01:19:27 +00:00
Alexandre Julliard e8dae9c029 We no longer need to link against ntdll in the Unix sense. 2003-10-11 01:00:35 +00:00
Dimitrie O. Paun 64df545885 Have the wrapper load the used DLLs in case the main program
calls them from constructors (with help from Alexandre Julliard).
2003-10-10 23:33:45 +00:00
Alexandre Julliard 67d9f38059 Added __wine_set_signal_fs function to avoid sharing the
SYSLEVEL_Win16CurrentTeb variable between kernel and ntdll.
On the kernel side, replaced SYSLEVEL_Win16CurrentTeb by
CallTo16_TebSelector stored directly in the asm relay code to avoid a
run-time relocation.
2003-10-08 22:59:22 +00:00
Pavel Roskin 671f02c606 Read and write binary files in binary mode on Windows. 2003-10-06 21:05:28 +00:00
Vincent Béron 3ce7ed5c15 Get rid of useless comment (empty function header). 2003-10-06 20:57:36 +00:00
Daniel Marmier 9bb19ac2d2 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-03 03:35:20 +00:00
Dimitrie O. Paun d50fdcdc04 Make bin2res silent by default. 2003-10-03 03:34:10 +00:00
Gerald Pfeifer aa0f37940f Cast time_t parameters to fprintf(...,"%l",...) to long. 2003-10-02 04:29:30 +00:00
Gerald Pfeifer 27005516a3 Cast time_t to long for printing. 2003-10-01 03:32:16 +00:00
Dimitrie O. Paun 4ff35b52a5 Teach bin2res to deal with one file at a time. 2003-10-01 03:13:31 +00:00
Jon Griffiths 0239d6bb10 Ensure we generate for -noname ordinals documented as '@'. 2003-10-01 03:05:43 +00:00
Daniel Marmier a613de2a22 Use #ifdef instead of #if for all feature tests.
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Francois Gouget bc4f8f980f Return 2 in case of a usage error.
Use -z instead of comparing to an empty string.
2003-09-30 00:28:13 +00:00
Alexandre Julliard 1bb7a9f736 Try to catch the case of a non-writable source directory before
running configure.
2003-09-29 20:25:47 +00:00
Alexandre Julliard f3434c2539 Fixed handling of Unicode strings used as filenames (reports by Martin
Fuchs).
2003-09-29 20:23:15 +00:00
Francois Gouget 7aa0f3c41d Update winapi and c2man so they know about -ret16. Remove support for
the obsolete pascal16 and -noimport.
Update modules.dat so winapi knows about the new dlls.
2003-09-29 20:15:24 +00:00
Alexandre Julliard 757caa0103 Added dumping of the resident name table of NE files. 2003-09-27 02:34:54 +00:00
Alexandre Julliard 60c857e19c Store the dll name for the export directory inside the exported names
list.
2003-09-26 04:36:46 +00:00
Dimitrie O. Paun 8b255842ec Remove the obsolete pascal16 (replaced by pascal -ret16). 2003-09-26 04:32:19 +00:00
Alexandre Julliard 2052538a47 Moved loadorder support to dlls/ntdll.
Removed the --dll option and replaced it by the WINEDLLOVERRIDES
environment variable.
2003-09-25 20:33:41 +00:00
Jon Griffiths 821b228cda MSVC warning fix. 2003-09-24 05:12:28 +00:00
Jon Griffiths 33c069ae30 Added some needed config.h entries. 2003-09-23 22:51:11 +00:00
Vincent Béron a8fb3d786e Fix strncpyWtoA to actually act as advertised (and not overflow the
input buffer).
Small cleanups of it at the same time.
2003-09-22 19:45:29 +00:00
Michael Günnewig 92967e2044 Adapted winecheck to use new environment variable syntax
(ex. %HOME%).
2003-09-22 19:28:46 +00:00
Steven Edwards a23b8c8fbe Porting fix for Alpha. 2003-09-22 19:27:56 +00:00
Alexandre Julliard ccc7570b84 Get rid of relay32 directory. 2003-09-19 04:36:54 +00:00
Richard Cohen 6bfd84a331 Handle default linker output name in winewrap instead of winegcc. 2003-09-19 00:19:36 +00:00