Apache OpenOffice (AOO) Bugzilla – Issue 11861
Build MSVC dmake.exe with ./bootstrap
Last modified: 2003-06-27 09:21:20 UTC
The vq_mingw branch of dmake is capable of building the "normal" MSVC executable of dmake in the standard unix'y way. $ cd /config_office $ ./configure <put your favorite options here> $ cd .. $ ./bootstrap All you need is the following patch for set_soenv.in to build winenv.bat *AND* winenv.set simultaneously. Building dmake.exe with winenv.bat also works as before. The vq_mingw branch contains all recent changes from cws_srx644_ooo20030309, should be easy to merge. Please approve the merge of branch vq_mingw. (This enables the MinGW and also the MSVC build to be done with 'CC="your compiler" ./configure && make' And also approve the set_soenv.diff, to build both winenv.* files. CC'ing Martin because dmake is his baby.
Created attachment 4917 [details] Patch for set_soenv.in
Added Ken to the CC's.
I had to adjust the set_soenv.in patch a bit, the problem was that in the case of USE_SHELL=4nt the aliases are set to a 4nt format with backticks, e.g.: alias dmake = '`*dmake`' This leads to some unwanted starting of commands during ./bootstrap due to the "source winenv.set" I solved this by removing the alias commands from winenv.set in the 4nt case, this is OK because the winenv.set is only used to set the right environment variables during bootstrap. See following set_soenv_v2.diff for this changes.
Created attachment 4932 [details] Patch for set_soenv.in
Sorry for the traffic, but after I send the last patch I had an idea to generate a fully valid winenv.set and winenv.bat, including the aliases. ToFile converts the tcsh style aliases to 4nt style. See the (hopefully final) set_soenv_fin.diff for details.
Created attachment 4934 [details] set_soenv_fin.diff
Applied the final version to cws_srx644_ooo20030309. Approved for beta if you want to update that as well. Test and resolve if this fixes the entire problem.
I will close the issue once I found the time to merge the vq_mingw branch of dmake to cws_srx644_ooo20030309. Volker
I just merged vq_mingw to cws_srx644_ooo20030309 ! New Features: * Uses autoconf 2.5x and automake 1.5 * The MSVC version of dmake.exe can now be build with ./bootstrap after: $ cd config_office && ./configure <put your switches here> && cd .. (Only for the W32-4nt version) A "CC=<VAR> ./configure && make" in dmake/ now also works for VAR = "cl.exe" (MSVC), "gcc -mno-cygwin" (MinGW). * All other compilers work as before.
mh->vq: fixed now ?
vq->mh: Yes for w32. I had no feedback from other systems yet. (I don't think that my autoconfiscation broke something, but who knows?)
verrified on Linux.
works
close