<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior for MCU中的主题 Code Warrior ignoring path separators</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-ignoring-path-separators/m-p/920295#M15124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;I've been trying recently to compile an old project using Code Warrior Compiler:&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Freescale C/C++ Compiler for Embedded PowerPC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Copyright(C) 2010, Freescale Semiconductor, Inc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;All rights reserved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Version 4.3 build 224&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Runtime Built: Feb 17 2012 08:27:49&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;/P&gt;&lt;P&gt;An old one, I know :smileyhappy:.&lt;/P&gt;&lt;P&gt;I have a Makefile that we are calling via cygwin. It feeds mwcceppc.exe with files to compile. I am translating paths for Code Warrior to use double backslash '\\' instead of single slash '/' to match windows path separation standards. However, CW compiler is not able to find any files specified, it ignores path separators like that:&lt;BR /&gt;&lt;BR /&gt;==== Compiling source\\app_layer\\foo.c module ====&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;### mwcceppc.exe Usage Error:&lt;BR /&gt;#&amp;nbsp;&amp;nbsp; Specified file 'sourceapp_layerfoo.c' not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering, if there is any parameter that modifies accepted path separators? Or if there is anything that could cause issues like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what calling command looks like:&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;/cygdrive/c/PROGRA~2/FREESC~1/CWFORM~1.10/PowerPC_EABI_Tools/Command_Line_Tools/mwcceppc.exe -v -stderr -disassemble -v -c -nostdinc -i dbg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;\\headers &lt;SPAN style="color: black;"&gt;-i- -i&lt;/SPAN&gt; C:\\PROGRA&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;~2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;\\FREESC~1\\CWFORM~1.10\\PA_Support\\ewl\\EWL_Runtime\\Runtime_PA\\Include &lt;SPAN style="color: black;"&gt;-i&lt;/SPAN&gt; C:\\PROGRA~2\\FREESC~1\\CWFORM~1.10\\PA_Support\\ewl\\EWL_C\\include &lt;SPAN style="color: black;"&gt;-DZ0H_CORE=1 -DVL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;E_IS_ON=1 -DROM_VERSION=1 -DFASTCALL= -DFASTMEM= -D_EWL_C99=1 -D_EWL_OS_TIME_SUPPORT=0 -D_EWL_OS_DISK_FILE_SUPPORT=0 -D_EWL_CONSOLE_SUPPORT=0 -D_EWL_THREADSAFE=0 -D_E&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;WL_COMPLEX=0 -D_EWL_C_LOCALE_ONLY=1 -D_EWL_FLOATING_POINT=0 -D_EWL_NEEDS_EXTRAS=0 -D_EWL_WIDE_CHAR=0 -DDO_NOT_LOAD_CTORS_DTORS=1 -D__VEC__=0 -D__MOTO__=0 -D__MRC__=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-D_lint=0 -DCAN_PORT=0 -DCAN_PRIO=0 -DCAN_CONTROLLER=0 -DCAN_PRIORITY=0 -Cpp_exceptions off -RTTI off -wchar_t off -requireprotos -lang c99 -char unsigned -enum min -&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;min_enum_size 2 -ppopt break -ppopt pragma -warn pragmas -warn possible -warn pedantic -warn nohidevirtual -warn implicit -warn impl_float2int -warn impl_signedunsign&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ed -warn impl_int2float -warn ptrintconv -warn unusedvar -warn unusedarg -warn missingreturn -warn unusedexpr -warn extracomma -warn structclass -warn emptydecl -warn&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;filecaps -warn sysfilecaps -warn nopadding -warn undefmacro -warn notinlined -warn noerror -func_align 16 -proc Zen -fp none -vector off -pooldata on -common on -use&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;_lmw_stmw on -volatileasm -use_isel on -vle -ppc_asm_to_vle -gdwarf-2&amp;nbsp; -opt level=1 -inline off -D_EWL_USE_INLINE=0 \&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MMDfile dbg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;\\dep\\foo.d.tmp &lt;SPAN style="color: black;"&gt;\&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -o dbg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;\\obj\\foo.o &lt;SPAN style="color: black;"&gt;sources&lt;/SPAN&gt;\\app_layer\\foo.c &lt;SPAN style="color: black;"&gt;&amp;gt; dbg/lst/foo.lst&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="color: black; font-size: 10.0pt; "&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="color: black; font-size: 10.0pt; "&gt;Michal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2019 13:47:01 GMT</pubDate>
    <dc:creator>michal_anusiak</dc:creator>
    <dc:date>2019-07-15T13:47:01Z</dc:date>
    <item>
      <title>Code Warrior ignoring path separators</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-ignoring-path-separators/m-p/920295#M15124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;I've been trying recently to compile an old project using Code Warrior Compiler:&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Freescale C/C++ Compiler for Embedded PowerPC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Copyright(C) 2010, Freescale Semiconductor, Inc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;All rights reserved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Version 4.3 build 224&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Runtime Built: Feb 17 2012 08:27:49&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;/P&gt;&lt;P&gt;An old one, I know :smileyhappy:.&lt;/P&gt;&lt;P&gt;I have a Makefile that we are calling via cygwin. It feeds mwcceppc.exe with files to compile. I am translating paths for Code Warrior to use double backslash '\\' instead of single slash '/' to match windows path separation standards. However, CW compiler is not able to find any files specified, it ignores path separators like that:&lt;BR /&gt;&lt;BR /&gt;==== Compiling source\\app_layer\\foo.c module ====&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;### mwcceppc.exe Usage Error:&lt;BR /&gt;#&amp;nbsp;&amp;nbsp; Specified file 'sourceapp_layerfoo.c' not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering, if there is any parameter that modifies accepted path separators? Or if there is anything that could cause issues like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what calling command looks like:&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;/cygdrive/c/PROGRA~2/FREESC~1/CWFORM~1.10/PowerPC_EABI_Tools/Command_Line_Tools/mwcceppc.exe -v -stderr -disassemble -v -c -nostdinc -i dbg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;\\headers &lt;SPAN style="color: black;"&gt;-i- -i&lt;/SPAN&gt; C:\\PROGRA&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;~2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;\\FREESC~1\\CWFORM~1.10\\PA_Support\\ewl\\EWL_Runtime\\Runtime_PA\\Include &lt;SPAN style="color: black;"&gt;-i&lt;/SPAN&gt; C:\\PROGRA~2\\FREESC~1\\CWFORM~1.10\\PA_Support\\ewl\\EWL_C\\include &lt;SPAN style="color: black;"&gt;-DZ0H_CORE=1 -DVL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;E_IS_ON=1 -DROM_VERSION=1 -DFASTCALL= -DFASTMEM= -D_EWL_C99=1 -D_EWL_OS_TIME_SUPPORT=0 -D_EWL_OS_DISK_FILE_SUPPORT=0 -D_EWL_CONSOLE_SUPPORT=0 -D_EWL_THREADSAFE=0 -D_E&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;WL_COMPLEX=0 -D_EWL_C_LOCALE_ONLY=1 -D_EWL_FLOATING_POINT=0 -D_EWL_NEEDS_EXTRAS=0 -D_EWL_WIDE_CHAR=0 -DDO_NOT_LOAD_CTORS_DTORS=1 -D__VEC__=0 -D__MOTO__=0 -D__MRC__=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-D_lint=0 -DCAN_PORT=0 -DCAN_PRIO=0 -DCAN_CONTROLLER=0 -DCAN_PRIORITY=0 -Cpp_exceptions off -RTTI off -wchar_t off -requireprotos -lang c99 -char unsigned -enum min -&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;min_enum_size 2 -ppopt break -ppopt pragma -warn pragmas -warn possible -warn pedantic -warn nohidevirtual -warn implicit -warn impl_float2int -warn impl_signedunsign&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ed -warn impl_int2float -warn ptrintconv -warn unusedvar -warn unusedarg -warn missingreturn -warn unusedexpr -warn extracomma -warn structclass -warn emptydecl -warn&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;filecaps -warn sysfilecaps -warn nopadding -warn undefmacro -warn notinlined -warn noerror -func_align 16 -proc Zen -fp none -vector off -pooldata on -common on -use&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;_lmw_stmw on -volatileasm -use_isel on -vle -ppc_asm_to_vle -gdwarf-2&amp;nbsp; -opt level=1 -inline off -D_EWL_USE_INLINE=0 \&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MMDfile dbg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;\\dep\\foo.d.tmp &lt;SPAN style="color: black;"&gt;\&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -o dbg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;\\obj\\foo.o &lt;SPAN style="color: black;"&gt;sources&lt;/SPAN&gt;\\app_layer\\foo.c &lt;SPAN style="color: black;"&gt;&amp;gt; dbg/lst/foo.lst&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="color: black; font-size: 10.0pt; "&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="color: black; font-size: 10.0pt; "&gt;Michal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 13:47:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-ignoring-path-separators/m-p/920295#M15124</guid>
      <dc:creator>michal_anusiak</dc:creator>
      <dc:date>2019-07-15T13:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior ignoring path separators</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-ignoring-path-separators/m-p/920296#M15125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use normal slash / in path with cygwin. Or what is the reason of replacing / with \\ ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 11:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Code-Warrior-ignoring-path-separators/m-p/920296#M15125</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-07-17T11:23:45Z</dc:date>
    </item>
  </channel>
</rss>

