Commit graph

46 commits

Author SHA1 Message Date
Timo Kreuzer ec1169363d [CRT]
- CRT update part 1/x
- sync C++ / exception related CRT code with wine
- add support for non-underscored symbols
- Patch by Samuel Serapion, slightly modified by me

svn path=/trunk/; revision=47770
2010-06-13 01:24:42 +00:00
Timo Kreuzer 9d059198bb [ReactOS-amd64.rbuild]
The old explorer won't compile for amd64 without massive hacking, so remove it from the build.

svn path=/trunk/; revision=47552
2010-06-03 20:57:25 +00:00
Timo Kreuzer 33b6671aa1 [rbuild]
- cleanup obsolete rbuild flags for amd64
- undefine WIN32 for amd64, only _WIN32 should be defined

svn path=/trunk/; revision=47542
2010-06-03 15:50:19 +00:00
Timo Kreuzer 8627f5ae27 Merge from amd64-branch:
44467, 44468, 44470, 44471, 46524
[OLDNAMES]
Update moldname-msvcrt.def
Add a proper oldnames lib, instead of implicitly including it with mingw.

46526
[FTP/DHCP]
- remove the oldnames hack, as we now have a proper oldnames lib (included in mingw_common)
- protect struct timezone from redefinition

svn path=/trunk/; revision=46592
2010-03-30 11:09:21 +00:00
Timo Kreuzer 579ef7b3cb Revert r46466
svn path=/trunk/; revision=46492
2010-03-27 18:29:08 +00:00
Timo Kreuzer b67e6b206a Merge from amd64 branch:
44762 (sserapion)
[rbuild]
- Automatically generate reactos.dff using the installfile and installbase attributes found in rbuild files.
-- Fixes race to grab reactos.dff on concurrent builds in the same tree.
-- Makes the result of make install, make livecd and make bootcd the same(some modules arent in reactos.dff but have installfile/base attributes, which means they got intto livecd/install but not bootcd!)

44763 (sserapion)
[rbuild]
Really fix mkhive command.

44764 (sserapion)
[rbuild]
- fix mkhive command try 2. 

svn path=/trunk/; revision=46452
2010-03-25 23:16:12 +00:00
Timo Kreuzer 3ab9af72ac - merge r44429
- fix hal_generic_amd64.rbuild
- add missing files

svn path=/trunk/; revision=44430
2009-12-06 02:44:06 +00:00
Timo Kreuzer 85cc9dffaa - unhack the rbuild file
- move some architecture specific stuff out of ReactOS-generic.rbuild

svn path=/branches/ros-amd64-bringup/; revision=44429
2009-12-06 01:11:32 +00:00
Samuel Serapion f364e33219 Sync to trunk (r44371)
svn path=/branches/ros-amd64-bringup/; revision=44373
2009-12-03 07:28:23 +00:00
KJK::Hyperion 7f4bf6c490 modified Makefile
Give poor pefixup its own echo line

modified   ReactOS-amd64.rbuild
modified   ReactOS-arm.rbuild
modified   ReactOS-i386.rbuild
   Set global linker flags globally
   Goodbye NTOSKRNL_SHARED

modified   tools/rbuild/backend/codeblocks/codeblocks.cpp
modified   tools/rbuild/backend/msvc/vcprojmaker.cpp
   Build fixes. I really want to delete these dead backends

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   Makefile rule for the linker. Also generates the .lib and .exp for DLLs, and obsoletes a whole lot of shitty rbuild code

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
   Specify module type-specific linker flags... in the specification of flags for module types, instead of wherever
   Fix generation of project-global linker and NASM flags
   Give better names to the variables that contain names of BE-provided libraries
   Don't put quotes around the names of BE-provided libraries, GNU make doesn't support quoting in any way, shape or form and quotes around filenames actually break shit on Windows (see <http://reactos-blog.blogspot.com/2009/11/gnu-make-fails-on-windows-with-multiple.html>). Just install the BE in a path without spaces in it
   Typo: LFLAGS is the flags for lex, flags for linker come from LDFLAGS

modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
modified   tools/rbuild/rbuild.h
   Moved generation of linker and import library generation rules out of rbuild and into sub-makefiles. A lot of code deleted, nothing of value was lost
   More LFLAGS -> LDFLAGS
   Goodbye mangledsymbols and underscoresymbols attributes, they don't do shit other than complicating my life
   If we have to add an underscore in front of the entry point name for some architectures, how about we do it in a single place?

modified   tools/rbuild/backend/mingw/rules.mak
   Minor cosmetic change

svn path=/trunk/; revision=44091
2009-11-11 03:41:14 +00:00
Timo Kreuzer 6478473436 Add midl compiler flags
svn path=/branches/ros-amd64-bringup/; revision=43630
2009-10-19 22:39:23 +00:00
Timo Kreuzer 16ab8ad03b build cardlib only if USERMODE = 1
svn path=/branches/ros-amd64-bringup/; revision=43558
2009-10-18 15:52:07 +00:00
Timo Kreuzer 91984711f0 Update ReactOS-amd64.rbuild
svn path=/trunk/; revision=43452
2009-10-14 14:29:32 +00:00
Timo Kreuzer cb662b3fc9 Sync to trunk HEAD (r43416)
svn path=/branches/ros-amd64-bringup/; revision=43422
2009-10-12 22:00:47 +00:00
Timo Kreuzer 307f8beca8 Add rbuild files for x64 build. Dedicated to encoded.
svn path=/trunk/; revision=43174
2009-09-26 21:52:00 +00:00
Timo Kreuzer e4eb3929f7 Add global compilerflag to ignore format warnings
svn path=/branches/ros-amd64-bringup/; revision=43171
2009-09-26 19:54:59 +00:00
Timo Kreuzer 827b44e76c Fix definition of DBG
svn path=/branches/ros-amd64-bringup/; revision=41491
2009-06-20 18:19:23 +00:00
Timo Kreuzer a2914115fe Fix outdated rbuild flags
svn path=/branches/ros-amd64-bringup/; revision=41475
2009-06-20 11:05:46 +00:00
Timo Kreuzer a387997e48 update main rbuild file
svn path=/branches/ros-amd64-bringup/; revision=41005
2009-05-20 01:30:20 +00:00
Timo Kreuzer e49fa4f867 Sync trunk r40500
svn path=/branches/ros-amd64-bringup/; revision=40543
2009-04-16 14:44:19 +00:00
Timo Kreuzer 0eeabbf6e0 - Add a USE_COMPILER_EXCEPTIONS to make Widl work again
- comment out _X86AMD64_ for now

svn path=/branches/ros-amd64-bringup/; revision=40092
2009-03-18 17:24:41 +00:00
Timo Kreuzer b92e8a49aa Add property USERMODE, set it to 1 to compile usermode parts (base, dlls and mingw lib)
svn path=/branches/ros-amd64-bringup/; revision=39053
2009-01-23 23:37:51 +00:00
Timo Kreuzer da3e5b3190 add mingw lib back to build
svn path=/branches/ros-amd64-bringup/; revision=39043
2009-01-23 12:51:43 +00:00
Samuel Serapion 865a88e5b0 Re: 38126
- Sorry, but this hack cannot go away at this time.

svn path=/branches/ros-amd64-bringup/; revision=38878
2009-01-18 10:03:47 +00:00
Timo Kreuzer fd16ec3f12 reduce hacks: build complete lib folder
svn path=/branches/ros-amd64-bringup/; revision=38126
2008-12-16 18:44:20 +00:00
Timo Kreuzer 76bb5fc5c9 disable build of icu and nls for now (doesn't compile)
svn path=/branches/ros-amd64-bringup/; revision=37881
2008-12-06 09:23:40 +00:00
Timo Kreuzer 2677618d96 "save your files before committing them!" -> good
"test your changes before comitting them!" -> better
revert 37787

svn path=/branches/ros-amd64-bringup/; revision=37854
2008-12-04 17:49:36 +00:00
Samuel Serapion 95073b5aac save your files before committing them!
svn path=/branches/ros-amd64-bringup/; revision=37787
2008-12-01 03:12:14 +00:00
Samuel Serapion 64ea71c749 - Fix build.
- Exclude uniata from build.
- Compile more drivers.
- Make cdrom driver compile.
- Fix TDI spec file.
- Exclude C_ASSERT thats only relevant to some i386 asm.
- Link to libgcc_eh for C++ apps.

svn path=/branches/ros-amd64-bringup/; revision=37786
2008-12-01 02:47:26 +00:00
Timo Kreuzer a2c562c00b ntoskrnl:
- Use generic Interlocked functions for amd64, too
- use generic rbuild file (2 hax left)
- add baseaddress for ntoskrnl
- update and sort amd64stubs

svn path=/branches/ros-amd64-bringup/; revision=37410
2008-11-17 16:24:37 +00:00
Timo Kreuzer 3fdd600cf9 Add a linkerflag to make sure we get an .eh_frame section. Todo: Get it at the end of the executable, so we can safely remove it. Remove duplicate disable-stdcall-fixup
Fixes build.

svn path=/branches/ros-amd64-bringup/; revision=37293
2008-11-11 21:51:53 +00:00
Samuel Serapion 353e29a6a9 - Merge to trunk r37270.
- Modified rbuild files to conform to trunk.
- Added spec file for bzip2
- Covert user32 to use pspec and use it for WIN64 specific exports.
- Added liboldnames in rbuild, needed to fix explorer build.
- Comented out code in mingw startup lib that requires linking to kernel32 (mostly security cookie code, which is not used).
- Remove unneeded stubs from amd64stubs.c
- i386 builds again, explorer crashes, need to investigate further.

svn path=/branches/ros-amd64-bringup/; revision=37279
2008-11-10 13:52:28 +00:00
Timo Kreuzer f3177fc118 Don't strip symbolic information from files. In the near future rsym will convert it into Windows compatible unwind info.
svn path=/branches/ros-amd64-bringup/; revision=37235
2008-11-06 22:55:04 +00:00
Timo Kreuzer cc9ff1e194 sync trunk head (37032)
svn path=/branches/ros-amd64-bringup/; revision=37034
2008-10-27 21:51:13 +00:00
Timo Kreuzer 2c01ac7383 Get rid of the _X86_ define by using a -U compiler switch. This way it also works with PCHs, that before didn't like the #undef
svn path=/branches/ros-amd64-bringup/; revision=35442
2008-08-19 02:33:14 +00:00
Timo Kreuzer 4972cd28d6 - do not define -nostartfiles for kernel, it looks like ld creates unaligned section pointers then
- comment out RtlCapturestackLimits
- use KeGetCurrentPrcb instead if KetGetPcr()->Prcb
- fix use of KPCR->Prcb
- use %p instead of %08x for ULONG_PTR
- update stubs
- add more files to build
- add FrLdrDbgPrint prototype to ntoskrnl.h

svn path=/branches/ros-amd64-bringup/; revision=34971
2008-07-31 02:20:15 +00:00
Timo Kreuzer 007a3b2a39 moar drivers
svn path=/branches/ros-amd64-bringup/; revision=34883
2008-07-28 01:51:56 +00:00
Timo Kreuzer 57ad095777 - add another missing export to ntoskrnl_amd64.def
- fix LARGE_INTEGER to pointer cast
- add more drivers to build

svn path=/branches/ros-amd64-bringup/; revision=34877
2008-07-28 00:47:28 +00:00
Timo Kreuzer 37d520af6e - add missing export RtlExtended integerMultiply to ntoskrnl
- build class2, atapi and scsiport drivers

svn path=/branches/ros-amd64-bringup/; revision=34875
2008-07-28 00:34:07 +00:00
Timo Kreuzer 1e029cfce4 - fix bzip2 include to make ip compile
- comment out some stuff in SEH asm code to make it compile, it's useless code anyway
- add some hack exports to ntoskrnl
- use private ntoskrnl rbuild File

svn path=/branches/ros-amd64-bringup/; revision=34871
2008-07-27 23:32:41 +00:00
Timo Kreuzer 013fff101d put back rbuild files in a proper state, so x86 can be compiled again (as soon as someone fixed Interlocked stuff)
svn path=/branches/ros-amd64-bringup/; revision=34863
2008-07-27 22:07:36 +00:00
Samuel Serapion 524c885d74 Merge 34789, make appropriate changes to ReactOS-amd64.rbuild
svn path=/branches/ros-amd64-bringup/; revision=34804
2008-07-26 08:21:51 +00:00
Timo Kreuzer 17257b1c52 - add ntoskrnl-amd64.lnk based on i386 one, but target pei-x86-64
- remove some unsupported ntoskrnl linkerflags from rbuild file
Now we can see all those unresolved references... sigh

svn path=/branches/ros-amd64-bringup/; revision=34761
2008-07-24 21:45:27 +00:00
Timo Kreuzer bacef6a882 - remove ip and oskittcp from build
- add fastfat to build
- add PLATFORM property "PC" also to i386 rbuild file to allow sharing of related code between i386 and amd64
- disable a few debug channels in freeldr
- winnt.h: add IMAGE_REL_BASED_MIPS_JMPADDR16, IMAGE_REL_BASED_IA64_IMM64 and IMAGE_REL_BASED_DIR64, the latter used for PE64 relocation
- rtl: implement case IMAGE_REL_BASED_DIR64 in LdrProcessRelocationBlockLongLong
- rtl: add SWAPQ macro for _PPC and fix macros SWAP macros for other architectures (remember: always put a macro argument in brackets)
Status: setupldr now loads a few files and finally wants to load fastfat.sys. But it fails when it comes to imports from ntoskrnl, no wonder we don't have an ntoskrnl yet...

svn path=/branches/ros-amd64-bringup/; revision=34748
2008-07-24 19:09:03 +00:00
Timo Kreuzer a9c1627517 - add some files, I forgot to commit
- add media directory to build
now we load some files and then stop due to missing fastfat.sys

svn path=/branches/ros-amd64-bringup/; revision=34738
2008-07-24 12:27:40 +00:00
Timo Kreuzer 0612cc0e7b create rbuild files and strip everything from build, except freeldr.
svn path=/branches/ros-amd64-bringup/; revision=34701
2008-07-23 22:14:10 +00:00