<div>Hi!</div><div> </div><div> </div><div><div>As I understand,  /src/  and  /install/ is "macros", i.e. pseudo-folders ?</div></div><div>/install/  is on practice  /usr/local/cm3/ ? And what is real folder of src-macro?</div><div> </div><div> </div><div>> /amd64_linux/install/lib/libm3core.a</div><div> </div><div>What folder(s) is using for AMD64_NT ?</div><div>What are happened after run both  </div><div><div>boot1.py AMD64_NT c<br /> and</div><div><div>boot1.py I386_NT</div></div><div>?</div></div><div> </div><div><div>How about .pdb ?</div></div><div> </div><div>> I am not sure if a multi-arch pkg store is worth anything.</div><div>> I think it was theoretically to assist cross builds.</div><div> </div><div>As I see inside logs from</div><div><div>http://hudson.modula3.com:8080/job/cm3-current-test-all-pkgs-ZZZZZZZZZZ</div></div><div>as minimum Gygwin target ( a-ka NT386GNU ) was be cross-compiled.</div><div> </div><div>In fact running "boot1.py I386_NT" on 64bit OS is crosscompiling too.</div><div> </div><div> </div><div>Best regards, Victor Miasnikov</div><div> </div><div> </div><div>14.01.2022, 04:14, "Jay K" <jayk123@hotmail.com>:</div><blockquote><div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">We have:</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">  /src/m3-libs/m3core/amd64_linux  </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">  /install/pkg/m3core/amd64_linux  </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">I propose roughly:</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">  /src/m3-libs/m3core/out </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> or /out/m3core </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">and</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> /install/pkg/m3core </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">or</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="font-size:12pt;margin:0px">  /amd64_linux/install/bin/cm3</span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="color:#000000;font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">  /amd64_linux/install/lib/libm3core.a</span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="font-size:12pt">  /amd64_linux/install/lib/libm3core  # directory</span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="font-size:12pt">    or </span>/amd64_linux/install/pkgs/libm3core  # directory</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">  and the leading /amd64_linux is optional</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="color:#000000;font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">In particular, the goal is to remove targets from the system entirely, both in intermediate directory structure and install structure.</span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="font-size:12pt;margin:0px">I am not sure if pkg needs to be separate from lib.</span><br /> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">I am not sure if a multi-arch pkg store is worth anything.</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">I think it was theoretically to assist cross builds.</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">But I don't like having a system that breaks ground in every single direction.</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">And I want porting to new systems to be almost a no-op.</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">I don't want M3_HOST. I don't want config files, <em>except maybe </em>a few lines</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">per target feeding into autoconf or cmake.</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">I'm willing for GET_PC to default 0 and feeling it in is optional.</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="color:#000000;font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">I have driven way down what it takes to port, but not enough.</span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">The install and inner loop experience should be:</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> mkdir /out</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> cd /out</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> /src/configure -prefix=/foo (or cmake)</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> make </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> make install </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">Nothing should be written into the source tree.</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">DIrectory walk should be, not what it is today.</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">Driven either by automake subdirs, or cmake, or "recursive make is harmful".</div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="color:#000000;font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> (I want both: flat makefile at root, and possibly cd around for manual partial builds, but maybe cd around is just make specific target?)</span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="color:#000000;font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">Or maybe my perspective is slightly off, and these are all separate</span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="color:#000000;font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">projects, already with read only source tree?</span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="color:#000000;font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><span style="color:#000000;font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">  - Jay</span></div><div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div></div>,<p>_______________________________________________<br />M3devel mailing list<br /><a href="mailto:M3devel@elegosoft.com" rel="noopener noreferrer">M3devel@elegosoft.com</a><br /><a href="https://m3lists.elegosoft.com/mailman/listinfo/m3devel" rel="noopener noreferrer">https://m3lists.elegosoft.com/mailman/listinfo/m3devel</a></p></blockquote>