Create a MacOS X App Bundle Using MacPorts: Difference between revisions

→‎TODO List: add a link for helloworld.cc
(→‎TODO List: Add notes on enabling mkoctfile)
(→‎TODO List: add a link for helloworld.cc)
Line 260: Line 260:
*** Over-ride the built-in octave_configure_info and use an m-file version that replaces the original MacPorts prefix with the OCTAVE_HOME environment variable set by the bundle.
*** Over-ride the built-in octave_configure_info and use an m-file version that replaces the original MacPorts prefix with the OCTAVE_HOME environment variable set by the bundle.
*** The bundled mkoctfile references the gcc4.4 libraries instead of the gcc4.5 libraries that are actually bundled.  This needs to be corrected.
*** The bundled mkoctfile references the gcc4.4 libraries instead of the gcc4.5 libraries that are actually bundled.  This needs to be corrected.
** With the above changes {{Codeline|mkoctfile helloworld.cc}} fails with the error below.  I can't find the source of {{Codeline|-lgcc}} in in either {{Codeline|mkoctfile}}, {{Codeline|octave_configure_info}}, or {{Codeline|octave-config-3.7.0+}}.
** With the above changes [http://www.gnu.org/software/octave/doc/interpreter/Getting-Started-with-Oct_002dFiles.html {{Codeline|mkoctfile helloworld.cc}}] fails with the error below.  I can't find the source of {{Codeline|-lgcc}} in in either {{Codeline|mkoctfile}}, {{Codeline|octave_configure_info}}, or {{Codeline|octave-config-3.7.0+}}.
  <nowiki>ld: library not found for -lgcc
  <nowiki>ld: library not found for -lgcc
collect2: ld returned 1 exit status</nowiki>
collect2: ld returned 1 exit status</nowiki>
364

edits