<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class="">
<div><br class=""><blockquote type="cite" class=""><div class="">On Apr 7, 2018, at 4:02 PM, Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Apr 7, 2018, at 12:54 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ouch, yes, my disastrous typo in the repository name, sorry. (The first time I tried, without using "sudo su -“, I had copied the “echo rsync” command directly from the <a href="https://www.openmodelica.org/download/download-mac" class="">https://www.openmodelica.org/download/download-mac</a> instructions. But the second time, using "sudo su -“ I just typed the command, clearly a mistake. <div class=""><br class=""></div><div class="">Now the sync with that repository has completed successfully, I’m watching the long installation process proceed.</div><div class=""><br class=""></div></div></div></blockquote><br class=""></div><div class="">there may be some hiccups in this software yet to be discovered</div><div class=""><br class=""></div><div class="">I note it tries to link to both -stdlib=libc++ and -stdlib=libstdc++ on the link line, and that just can’t be good…</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/usr/bin/clang++ -shared -Wl,-rpath,'@loader_path/../lib/x86_64-darwin17.5.0/omc/' -install_name @rpath/libomcruntime.dylib -o libomcruntime.dylib Error_omc.o Print_omc.o ErrorMessage.o systemimplmisc.o System_omc.o Lapack_omc.o Settings_omc.o UnitParserExt_omc.o unitparser.o IOStreamExt_omc.o Socket_omc.o ZeroMQ_omc.o getMemorySize.o is_utf8.o ptolemyio_omc.o SimulationResults_omc.o omc_communication.o omc_communication_impl.o Corba_omc.o -L </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">"/opt/local/var/macports/build/_opt_local_var_macports_sources_build.openmodelica.org_macports_lang_openmodelica-devel/openmodelica-devel/work/openmodelica_1.13.0~dev-866-gb1271a6/build/lib/x86_64-darwin17.5.0/omc/" -lOpenModelicaRuntimeC -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -lomcgc -lm -lpthread -lstdc++ -Wl,-undefined -Wl,dynamic_lookup -llpsolve55 -lcolamd -lzmq -pipe -Os -stdlib=libc++ -arch x86_64 -stdlib=libstdc++ -std=c++11</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></div><div class=""><br class=""></div><div class=""><br class=""></div>Using any of the compiler variants provided is probably just wrong — if you want /usr/bin/clang++ don’t use any of the them, it appears. The clang variant gives you macports-clang-3.8.<div class=""><br class=""><div class=""><div class="">Also, installing both gcc5 and gcc7 and libgcc6 and libgcc just seems nutty, so I added gcc6 and gcc7 to the fortran variants — but that has nothing to do with the above.</div></div></div><div class=""><br class=""></div><div class="">There are advantages to having your ports in the main repo, and having all of us look them over.</div><div class=""><br class=""></div><div class="">Ken</div></div></div></blockquote></div><br class=""><div class="">I know that a long time back, the default set of compilers didn’t work with OpenModelica, but that for a few years at least, the default set of variants has worked fine for building and using it. Those instructions have probably just not been updated in a long time. </div><div class=""><br class=""></div><div class="">I don’t know about the link issue, but I haven’t yet seen any problem caused by it….so far (in years of use)</div><div class=""><br class=""></div><div class="">—Adam</div></body></html>