The msys shell is very smart, it replaces everything that looks
like a unix path to a windows path.  This means thet the commandline
flag to gcc get mangled.  So for example:

-DGNUSTEP_INSTALL_PREFIX=/e/GNUstep 

will change to

-DGNUSTEP_INSTALL_PREFIX=e:\GNUstep

This will lead in the compilation of NSUser.m to the following problems:
 
A - a warning that it does not understand \G in strings.
B - a wrong predefined path.  

This in turn will prevent GNUstep from finding some charset data etc.


Wim Oudshoorn.



2003-02-17    <[EMAIL PROTECTED]>

        * GNUmakefile (GNUSTEP_TARGET_INSTALL_PREFIX) 
        (GNUSTEP_TARGET_LOCAL_ROOT, GNUSTEP_TARGET_NETWORK_ROOT): on mingw32 replace
        / with \\057.  This to avoid the msys shell of translating / with \.


Index: Source/GNUmakefile
===================================================================
RCS file: /usr/local/cvsroot/GNUstep/base/Source/GNUmakefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
60c60
<      $(shell echo $(GNUSTEP_SYSTEM_ROOT) | sed 's|^[a-zA-Z]:/|/|')
---
>      $(shell echo $(GNUSTEP_SYSTEM_ROOT) | sed 's|^[a-zA-Z]:/|/|' | sed 
>'s|/|\\\\057|g')
62c62
<      $(shell echo $(GNUSTEP_LOCAL_ROOT) | sed 's|^[a-zA-Z]:/|/|')
---
>      $(shell echo $(GNUSTEP_LOCAL_ROOT) | sed 's|^[a-zA-Z]:/|/|' | sed 
>'s|/|\\\\057|g')
64c64
<      $(shell echo $(GNUSTEP_NETWORK_ROOT) | sed 's|^[a-zA-Z]:/|/|')
---
>      $(shell echo $(GNUSTEP_NETWORK_ROOT) | sed 's|^[a-zA-Z]:/|/|' | sed 
>'s|/|\\\\057|g')
71a72
> 
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to