octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45489] ocs package wont cross compile


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #45489] ocs package wont cross compile
Date: Wed, 08 Jul 2015 00:36:37 +0000
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

URL:
  <http://savannah.gnu.org/bugs/?45489>

                 Summary: ocs package wont cross compile
                 Project: GNU Octave
            Submitted by: lostbard
            Submitted on: Wed 08 Jul 2015 12:36:37 AM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: JohnD
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Any

    _______________________________________________________

Details:

Not really a bug but would be good to fix some day. Using mxe-octae with the
cross mloctfile, the build fails as the makefile uses a hardcodes mkoctfile
command.

Changing the Makefile fixes it for me:


--- ocs.old/src/Makefile        2015-07-07 20:23:51.000000000 -0400
+++ ocs/src/Makefile    2015-07-07 20:24:25.000000000 -0400
@@ -1,9 +1,10 @@
 OCTFILES:=Mshichmanhodgesmosfet.oct
+MKOCTFILE ?= mkoctfile
 
 all: $(OCTFILES)
 
 %.oct:  %.cc
-       mkoctfile $<
+       $(MKOCTFILE) $<
 
 clean:
        -rm -f *.o core octave-core *.oct *~





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45489>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]