To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82202
                 Issue #|82202
                 Summary|Remove the need for $(WRAPCMD) for W32-bash builds
               Component|tools
                 Version|current
                Platform|PC
                     URL|
              OS/Version|Windows, all
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|TASK
                Priority|P3
            Subcomponent|solenv
             Assigned to|vq
             Reported by|vq





------- Additional comments from [EMAIL PROTECTED] Wed Oct  3 02:31:50 +0000 
2007 -------
With dmake 4.11 it should be possible to remove the need for WRAPCMD/guw.exe.

I tried the following strategy:

* Use mixed mode path names (DOS paths with / instead of \ as directory
  separator) in the environment variables set by winenv.set[.sh]

* Enable .WINPATH to make dmake output mixed mode paths

* Set WRAPCMD to empty

The following attached patches are prove of principle patches that allow to
build OOo without guw.exe until it fails in instsetoo_native.

There are surprisingly few changes but the problems I encountered were:

* Some programs really want backslashes in DOS paths, but so far only two
  came up: csc.exe and rsc.exe. I created a very simple guw like wrapper that
  just flips every non-leading '/' to '\'. This script, slfl.pl is also
  attached and has to be copied into solenv/bin/.

* dmake's $(mktmp ..) function macro is not .WINPATH aware, it returns a POSIX
  path. Luckily there is a workaround for this problem. If TMPDIR is set to
  a mixed mode path mktmp returns a temp file that uses this path. This should
  be properly fixed in the next dmake.

My plan is solve this in two stages:
1. Clean up the patches and create a configure switch --disable-wrapcmd that
   switches the environment to the mode described above.
2. After building OOo without WRAPCMD is thoroughly tested remove the now unused
   $(WRAPCMD) occurences.

I will work on this in a nowrapcmd CWS soon.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to