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

Line 261: Line 261:
*** 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 [http://www.gnu.org/software/octave/doc/interpreter/Getting-Started-with-Oct_002dFiles.html {{Codeline|mkoctfile helloworld.cc}}] fails with the error below.  Unable to locate 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.  Unable to locate the source of {{Codeline|-lgcc}} in in either {{Codeline|mkoctfile}}, {{Codeline|octave_configure_info}}, or {{Codeline|octave-config-3.7.0+}}.
*** Rely on {{Codeline|mkoctfile}} to setup the oct-file build environment (i.e. don't set any of it up in the {{Codeline|.../Octave-3.7.0+.app/Contents/Resources/bin/octave}} script.
*** Since {{Codeline|mkoctfile}} uses it, {{Codeline|gsed}} needs to be added as a run time dependency in the [[Prototype MacPorts PortFile|MacPorts portfile]].  Check to verify that other build time dependencies are not also need.
  <nowiki>mkoctfile -v helloworld.cc
  <nowiki>mkoctfile -v helloworld.cc


364

edits