Issue 108617 - Set COMPATH to real cygwin root in mingw build using cygwin compiler
Summary: Set COMPATH to real cygwin root in mingw build using cygwin compiler
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: configure (show other issues)
Version: DEV300m70
Hardware: PC Windows, all
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: vg
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-24 03:59 UTC by tono
Modified: 2010-02-28 03:00 UTC (History)
3 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
A patch for set_soenv.in (1002 bytes, patch)
2010-01-24 04:00 UTC, tono
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description tono 2010-01-24 03:59:02 UTC
From m68 COMPATH is set to compiler binary installation root with the 
integration of cws ause106.

In mingw build using cygwin tools, it is converted to windows mixed path 
like "c:/cygwin/usr". Actually /usr/bin and /usr/lib in cygwin installation are 
mounted directories. The compiler binary resides in c:/cygwin/bin, not in 
c:/cygwin/usr/bin.

In MinGW build cases, we should add "/bin" to COMPATH, convert the path to 
mixed style and then strip trailing "/bin". Thus we can get real cygwin 
installation root.
Comment 1 tono 2010-01-24 04:00:01 UTC
Created attachment 67378 [details]
A patch for set_soenv.in
Comment 2 tono 2010-01-24 10:11:05 UTC
Started in cws mingwport27.
Comment 3 tono 2010-01-28 13:05:22 UTC
Fixed in cws mingwport27.
Comment 4 tono 2010-01-28 14:10:35 UTC
@vg: Please verify.
Comment 5 vg 2010-02-01 08:35:50 UTC
verified in the CWS mingwport27
Comment 6 tono 2010-02-28 03:00:42 UTC
Closing as the fix has been integrated.