History log of /AOO42X/main/solenv/gbuild/platform/windows.mk (Results 1 – 25 of 40)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# af228fbf 06-Sep-2025 John Bampton <jbampton@users.noreply.github.com>

Fix typos (#416)

* Fix typos

* Recreate ignored words list `codespell.txt`

(cherry picked from commit efd61a206bbee858699f5a9f10508cd13f81bbbf)


# 5e48fca7 03-Jul-2025 John Bampton <jbampton@users.noreply.github.com>

pre-commit auto remove trailing whitespace from `.mk` files (#377)

If there are too many changes / files I can create a smaller PR

Thanks

(cherry picked from commit 31bbceb0f9d64c0c2c3b22a794a1666

pre-commit auto remove trailing whitespace from `.mk` files (#377)

If there are too many changes / files I can create a smaller PR

Thanks

(cherry picked from commit 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)

show more ...


Revision tags: AOO420-Dev5-m5
# bc01e889 01-Oct-2023 Damjan Jovanovic <damjan@apache.org>

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

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

(cherry picked from commit 104751b68faf29eef4f137251f7b9ecd22ed8074)

show more ...


Revision tags: AOO420-Dev4-m4, AOO420-Dev3-m3, 420-Dev2-m2
# 52d905a6 14-Feb-2019 Jim Jagielski <jim@apache.org>

Merge r1852965 from trunk:

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

Merge r1852965 from trunk:

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


Submitted by: damjan
Reviewed by: jim


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

show more ...


# 01ab31f5 01-Dec-2018 Damjan Jovanovic <damjan@apache.org>

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-ffa450e

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 <damjan@apache.org>

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@

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 ...


# 6bf52fda 05-Oct-2018 Damjan Jovanovic <damjan@apache.org>

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

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 <damjan@apache.org>

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/openoffi

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 <truckman@apache.org>

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 me

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 <damjan@apache.org>

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-4

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 ...


# edd74ba5 12-Mar-2018 Damjan Jovanovic <damjan@apache.org>

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

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 <truckman@apache.org>

#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 b

#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 <truckman@apache.org>

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 variabl

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 ...


# cf91f1ae 31-Jan-2017 Damjan Jovanovic <damjan@apache.org>

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

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 <damjan@apache.org>

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 any

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 <damjan@13f79535-47bb-0310-9956-ffa450edef68>

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 <damjan@13f79535-47bb-0310-9956-ffa450edef68>

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 <damjan@13f79535-47bb-0310-9956-ffa450edef68>

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 <damjan@13f79535-47bb-0310-9956-ffa450edef68>

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-ff

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 <damjan@13f79535-47bb-0310-9956-ffa450edef68>

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

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 <damjan@13f79535-47bb-0310-9956-ffa450edef68>

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 13f795

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 <truckman@13f79535-47bb-0310-9956-ffa450edef68>

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@1758

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 <damjan@13f79535-47bb-0310-9956-ffa450edef68>

Merge branches/gbuild-reintegration to trunk.



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


# dfce871f 11-Oct-2015 Damjan Jovanovic <damjan@apache.org>

#i125003# Eliminate cppunit from our tree completely.



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


# e75d772d 16-Sep-2015 Damjan Jovanovic <damjan@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

#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 ...


12