Compiling ohNet on a Raspberry Pi
|
25-09-2013, 10:13 AM
Post: #1
|
|||
|
|||
Compiling ohNet on a Raspberry Pi
Hi,
Just something that I have noticed when I compile ohNet on a Raspberry Pi, I have to edit the Makefile to change the line: libjvm_dir ?= $(JAVA_HOME)/jre/lib/i386/server To: libjvm_dir ?= $(JAVA_HOME)/jre/lib/arm/server Am I missing something before running the Makefile that would mean not having to edit it? Thanks, Pete. |
|||
25-09-2013, 02:49 PM
(This post was last modified: 25-09-2013 02:51 PM by simonc.)
Post: #2
|
|||
|
|||
RE: Compiling ohNet on a Raspberry Pi
Sounds like we're missing an extra platform test in our makefile. Can you run
gcc -dumpmachine on your RPi and let us know the results please? We could use this to hack up something like Code: ifneq (,$(findstring your-machine-name-here,$(gcc_machine))) ![]() |
|||
25-09-2013, 03:47 PM
Post: #3
|
|||
|
|||
RE: Compiling ohNet on a Raspberry Pi
(25-09-2013 02:49 PM)simonc Wrote: Sounds like we're missing an extra platform test in our makefile. Can you run Hi Simon, Just to confuse things : On a raspi running Softfloat Wheezy OS I get arm-linux-gnueabi On a raspi running Hardfloat Wheezy OS I get arm-linux-gnueabihf Thanks, Pete. |
|||
25-09-2013, 03:54 PM
Post: #4
|
|||
|
|||
RE: Compiling ohNet on a Raspberry Pi
(25-09-2013 03:47 PM)PeteManchester Wrote: Just to confuse things : Thanks for the quick reply Pete. I've committed a change I think should work for you. It should be on github this evening; could you give it a go when you have a chance and let me know whether it works? |
|||
27-09-2013, 10:23 AM
Post: #5
|
|||
|
|||
RE: Compiling ohNet on a Raspberry Pi
(25-09-2013 03:54 PM)simonc Wrote:(25-09-2013 03:47 PM)PeteManchester Wrote: Just to confuse things : Hi Simon, Just to confirm that the fix worked for both the Soft Float and Hard Float versions. Thanks for your help, Pete. |
|||
27-09-2013, 10:24 AM
Post: #6
|
|||
|
|||
RE: Compiling ohNet on a Raspberry Pi | |||
« Next Oldest | Next Newest »
|