History log of /trunk/main/solenv/gbuild/platform/windows.mk (Results 1 - 25 of 35)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 104751b6 01-Oct-2023 Damjan Jovanovic

For gbuild, when linking a binary on Windows produces a .manifest file,
embed this manifest into the binary like dmake did.

Unfortunately our old version of LINK.EXE doesn't have the /MA

For gbuild, when linking a binary on Windows produces a .manifest file,
embed this manifest into the binary like dmake did.

Unfortunately our old version of LINK.EXE doesn't have the /MANIFEST:EMBED
option, so the manifest has to be be embedded by calling MT.EXE in a
separate step.

Also, stop delivering the .manifest files to ${OUTDIR} now.

Patch by: me
Fixes: #127731 - AOO fails to open ODBC manager

show more ...


Revision tags: AOO4114-GA, AOO420-Dev4-m4, AOO4113-GA, AOO4112-GA, AOO4111-GA, AOO420-Dev3-m3, AOO4110-GA, AOO419-GA, AOO418-GA, 420-Dev2-m2, AOO417, AOO420-Dev-m1
# 7f6ffbef 05-Feb-2019 Damjan Jovanovic

Port main/i18npool to gbuild.

Allow ICU's version.mk to be used by GNU make (= instead of *=).

Add support for building generated C files.

Reference ICU libraries using "gb

Port main/i18npool to gbuild.

Allow ICU's version.mk to be used by GNU make (= instead of *=).

Add support for building generated C files.

Reference ICU libraries using "gb_Library_use_externals" across the tree.
Also ICU is an external library, remove it from RepositoryFixes.mk
which is only for internal ones, and keep it in RepositoryExternal.mk
exclusively. Since we get to specify the full linker parameter over there,
remove the half-baked hacks for it from RepositoryFixes.mk.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1852965 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# b146d3b3 26-Jan-2019 Damjan Jovanovic

Add a preliminary Windows AMD64 UNO-C++ bridge.

Largely based on a mixture of the Linux64 and Win32 bridges,
with significant AMD64 assembly language also used, it was
challenging to

Add a preliminary Windows AMD64 UNO-C++ bridge.

Largely based on a mixture of the Linux64 and Win32 bridges,
with significant AMD64 assembly language also used, it was
challenging to develop but luckily not too long.

Some links and stacks/register diagrams have been left
in the code for easy reference.

It compiles and links, but how well it works remains to be tested. At
least it's no longer holding up the Win64 port. The exception handling
is the least certain, although stack alignments for the assembly language
could also have issues.

Also patched gbuild to use the 64 bit MASM for building assembly language
files on Win64.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1852196 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO416
# 01ab31f5 01-Dec-2018 Damjan Jovanovic

Define BOOST_MEM_FN_ENABLE_CDECL only on Win32,
as it breaks the build on Win64.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1847883 13f

Define BOOST_MEM_FN_ENABLE_CDECL only on Win32,
as it breaks the build on Win64.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1847883 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# d6a83b31 27-Nov-2018 Damjan Jovanovic

Fix the Ant dependency extraction for the case when
there are no dependencies.

Fix the format of Ant paths on Windows.

Patch by: me



git-svn-id: https://svn.ap

Fix the Ant dependency extraction for the case when
there are no dependencies.

Fix the format of Ant paths on Windows.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1847506 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO416-RC1
# 6bf52fda 05-Oct-2018 Damjan Jovanovic

Complete enough of the assembly language building for now,
to successfully build main/basic on Windows.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openo

Complete enough of the assembly language building for now,
to successfully build main/basic on Windows.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1842965 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 1bb309c6 26-Sep-2018 Damjan Jovanovic

Add a gbuild API for building assembly language source files.

This will be needed by basic, bridges and possibly other modules.

Patch by: me



git-svn-id: https://s

Add a gbuild API for building assembly language source files.

This will be needed by basic, bridges and possibly other modules.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1841998 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 787e1130 28-Apr-2018 Don Lewis

Fix potential memory alignment issues on X86_64.

Clang version 4.0 and newer uses SSE instructions that require
16-byte alignment to zero memory allocated using the C++ new operator.

Fix potential memory alignment issues on X86_64.

Clang version 4.0 and newer uses SSE instructions that require
16-byte alignment to zero memory allocated using the C++ new operator.
The internal memory allocator does not understand anything larger
than 8-byte alignment. Modify it to be capable of doing 16-byte
alignment when necessary.

There is also a debug layer beneath the C++ new and delete operators
that is enabled by the --enable-debug configure option. This layer
adds 8 to the requested size of any allocations before calling the
underlying allocator, adds a known signature to the start of the
memory block, and then adds an 8 byte offset to the pointer before
returning it to the caller. The delete operator basically does the
reverse, checking for the proper signature. Modify this code so
that it adds and subtracts a 16-byte offset on X86_64 so that a
properly aligned block from the underlying allocator does not cause
new to return a misaligned pointer.

Modify set_soenv.in so that it always requests 16-byte alignment
on X86_64 so that the ABI is the same independent of the toolchain.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1830406 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 8cb913c4 15-Apr-2018 Damjan Jovanovic

Port main/jvmfwk to gbuild / Ant.

Fix the gbuild platform CPUDEFS to conform to what modules expect.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/ope

Port main/jvmfwk to gbuild / Ant.

Fix the gbuild platform CPUDEFS to conform to what modules expect.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1829205 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO415
# edd74ba5 12-Mar-2018 Damjan Jovanovic

Implement initial unfinished support for building 64 bit AOO on 64 bit Windows.

For now, require --enable-win64 to be passed to ./configure and without it build 32 bit
binaries like befo

Implement initial unfinished support for building 64 bit AOO on 64 bit Windows.

For now, require --enable-win64 to be passed to ./configure and without it build 32 bit
binaries like before.

Detect the MSVC compiler only through oowintool (ie. registry keys) and the command line option,
not by searching the path, as we need to know the exact path to determine whether the compiler
outputs 32 or 64 bit binaries.

Pass --aoo32-on-win64 to oowintool when doing the AOO32 on Win64 build, so oowintool
known to look at the 32 bit registry for Java, as we need a JDK of matching bitness.
We may need this option for other oowintool tasks.

Introduce the "mscx" COMNAME for 64 bit AOO.

Add the remaining gbuild and dmake changes necessary to use the 64 bit MSVC compiler.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1826580 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 386ca866 09-Mar-2018 Don Lewis

#127664# $CCNUMVER from dmake to configure

Move the calculation of $CCNUMVER and some other variables from
main/solenv/inc/tg_compv.mk, where it is only usable by dmake, to
configure

#127664# $CCNUMVER from dmake to configure

Move the calculation of $CCNUMVER and some other variables from
main/solenv/inc/tg_compv.mk, where it is only usable by dmake, to
configure, where it can be used by both dmake and gbuild. This is
a requirement to upstream some compiler bug workaround patches from
the FreeBSD port.

A bit of logic from set_soenv is also moved into configure. A bunch
more should probably be moved so that the configuration logic is
not spread across so many different places, but that can wait.
Something else to consider is that it would be nice to use a different
value of $COM for Apple's clang, maybe "ACLANG" or "APPLECLANG"
since it has a different version numbering scheme that the open-source
version of clang and having a unique identifier would simplify
version checking when applying compiler bug workarounds.

Note: I think the old value of $CCNUMVER on the Mac is wrong. It
should look something like 000800010000 or 000700030000, depending
on the installed version.

Change -DCPPU_ENV on the Mac from $(COMID) to $(COMNAME) for
consistency with the dmake side. It shouldn't make a difference
in practice since both have the same value on the Mac.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1826296 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 8e6bd3e9 12-Dec-2017 Don Lewis

Improvements to per-object optimization overrides in gbuild:

* Less Library.mk editing required to add an optimization exception
than what has been normally done to date.

*

Improvements to per-object optimization overrides in gbuild:

* Less Library.mk editing required to add an optimization exception
than what has been normally done to date.

* Add a variable to specify an override to -O1 instead of only
allowing -O0.

* Don't lose debug flags when overriding optimization.


Convert the recent Mac optimization override in framework/Library_fwk.mk
to the new style.


Improvements to Windows debug builds in gbuild:

* There are multiple dependency paths that trigger compiling a source
file. Add a target specific $(PDBFILE) to the root of each so
that $(PDBFILE) is set properly when compiling.

Note: $(PDBFILE) is not getting set when compiling the sources
for the per-module (Google Test) tests.

* Don't inadvertantly disable the use of pre-compiled headers when
enabling debug (not specific to Windows).

Note: If both debug and pre-compiled headers are enabled, building
of modules that contain more than one library will fail due to
limitations of Visual Studio. The problem is that when we
build the precompiled header, the output file(s) are based on the
module name. Even though each Library_*.mk specifies the rule
to build the precompiled header, it is only built once for the
module. Visual Studio requires that the $(PDBFILE) used when
compiling the sources match the $(PDBFILE) used when compiling
the precompiled header, but the value of $(PDBFILE) is specific
to each library. The best fix would be to compile the headers
once for each library and stash the output in a per-library
specific place, but this requires some fairly extensive changes.
Another potential fix would be to use -Z7 optimization so that the
debug information is stored in the object files.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1817946 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO414, AOO413
# cf91f1ae 31-Jan-2017 Damjan Jovanovic

We need to pass "-DEBUG" to the linker on Windows for debugging to work.

Patch by: me
Tested by: pats



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@178

We need to pass "-DEBUG" to the linker on Windows for debugging to work.

Patch by: me
Tested by: pats



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1781019 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 64c5c8b7 22-Jan-2017 Damjan Jovanovic

Don't use the "archive" package format, which is to be extrated by
smoketest as a side effect, for the subsequent tests. The smoketest
is currently broken and won't do that, and the path is w

Don't use the "archive" package format, which is to be extrated by
smoketest as a side effect, for the subsequent tests. The smoketest
is currently broken and won't do that, and the path is wrong anyway,
as it was for OpenOffice 3 and we're now on 4.

Instead, use the office instance from the "installed" package format
for subsequent tests, as it doesn't have to zipped up and unzipped,
resulting in faster building and faster testing, and doesn't require
a side effect in a module that will probably be moved from main/
to test/.

Patch by: me


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1779838 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# b1d3b18c 07-Jan-2017 damjan

Add shlwapi to our list of known DLLs.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1777742 13f79535-47bb-0310-9956-ffa450edef68


# ad2376c3 06-Jan-2017 damjan

Add ws2_32 to the list of known DLLs.

Patch by: me


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1777529 13f79535-47bb-0310-9956-ffa450edef68


# 42aba0ce 05-Jan-2017 damjan

Add wsock32 to known DLLs.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1777486 13f79535-47bb-0310-9956-ffa450edef68


# df3f5cbc 26-Dec-2016 damjan

Port main/slideshow to gbuild.
Add glu32 and opengl32 to the known Windows libraries.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@177605

Port main/slideshow to gbuild.
Add glu32 and opengl32 to the known Windows libraries.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1776052 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 6ecc4615 23-Dec-2016 damjan

Build fixes for main/fpicker on Windows:
* add comdlg32 to the list of known libraries for Windows
* fix the postprocess/packcomponents paths to the fps and fop components
* fix the WinRe

Build fixes for main/fpicker on Windows:
* add comdlg32 to the list of known libraries for Windows
* fix the postprocess/packcomponents paths to the fps and fop components
* fix the WinResTarget name in Module_fpicker.mk
* hack for calling $(shell) (recipe before target error)
* only try to build fps_gnome on *nix
* link to the stl library where necessary
* link to the user32 DLL where necessary
* fi -> endif typos
* fix capitalization of filenames
* move fps and fop to the OOOLIBS layer where they belong

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1775782 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 5a41b379 18-Dec-2016 damjan

strmiids needs to be added to gb_Library_PLAINLIBS_NONE
on Windows to get the avmediawin library to link.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/ope

strmiids needs to be added to gb_Library_PLAINLIBS_NONE
on Windows to get the avmediawin library to link.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1774958 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# e6091915 28-Aug-2016 truckman

Follow up to r1758061. Only pass -DPRECOMPILED_HEADERS to the compiler
when the precompiled header is actually going to be used.



git-svn-id: https://svn.apache.org/repos/asf/o

Follow up to r1758061. Only pass -DPRECOMPILED_HEADERS to the compiler
when the precompiled header is actually going to be used.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1758092 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# b63233d8 07-Aug-2016 damjan

Merge branches/gbuild-reintegration to trunk.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1755455 13f79535-47bb-0310-9956-ffa450edef68


Revision tags: AOO4121, AOO412, SNAPSHOT
# dfce871f 11-Oct-2015 Damjan Jovanovic

#i125003# Eliminate cppunit from our tree completely.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1707955 13f79535-47bb-0310-9956-ffa450edef68


Revision tags: AOO411
# e75d772d 16-Sep-2015 Damjan Jovanovic

#i125003# Provide gbuild integration for Google Test. Windows, Linux and FreeBSD have
been tested, the other platforms are educated guesses.



git-svn-id: https://svn.apache.org/

#i125003# Provide gbuild integration for Google Test. Windows, Linux and FreeBSD have
been tested, the other platforms are educated guesses.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1703444 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO410, AOO410_Beta, AOO401, AOO400
# e5a7b9b2 17-Jul-2013 Herbert Dürr

#i122767# disallow pre-standard C++ for-scope


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1504081 13f79535-47bb-0310-9956-ffa450edef68


12