Help - Search - Members - Calendar
Full Version: Compiling Octave on RC5
OESF Forums > General Forums > General Support and Discussion > Software
omega
Can someone please help me getting a fortran compiler or f2c installed on pdaxrom? i can't seem to understand how to get f2c working, do i compile it?
omega
i got it working... now complaining no readline support...
lardman
Octave never used to like being compiled with f2c.

I'm pretty sure the pdaXrom toolchain had f77 (presuming that you're talking about pdaXrom rc5 here).

You'll need libncurses, libreadline (otherwise editing the commands is painful) and GCC 3.xx for v.2.1.57


Si

P.S. Slightly OT: I have this compiling fine in OE, but am having troubles packaging it (because I don't understand much about .oe files yet...)
omega
Can you please tell me what i need to do with the onboard toolkit gcc.img to set it up properly? I understand about -t cramfs with mount but what else? I love compiling but it's a pain to get around everything. I have gnuplot working lovely from source but still struggling in RC5 with OCTAVE 2.1.57
lardman
Might work, depends on your version of libc:

http://sgp.zaurii.net/binaries/octave_2.1....rm4_libc2.2.ipk


Si
vputz
Incidentally, the latest OpenEmbedded has Octave in it; I did a build using OpenZaurus 3.5.1 and installed Octave to my SL-5000D, and the darn thing works. Of course, visualization isn't there yet, but it at least works, which is impressive enough to me...

-->VPutz
lardman
QUOTE
Incidentally, the latest OpenEmbedded has Octave in it; I did a build using OpenZaurus 3.5.1 and installed Octave to my SL-5000D, and the darn thing works. Of course, visualization isn't there yet, but it at least works, which is impressive enough to me...


I know, I submitted it via Mickeyl (actually it's a trivial .oe file, no changes needed at all, so it's not all that impressive ;-)).

Glad it works; next stop R....


Si
omega
i'm pretty sure that i tried that before lardman... it used to work in cacko, but it was complaining about a symbol or something (does it not need to be recompiled for the vector floating point?)
vputz
> next stop R....

Hmm... maybe GnuPlot and friends could use the assistance earlier, so I could also PLOT from Octave! (or I could just be missing something there).

R looks useful too, of course. I've just never used it. (let's face it, I've barely used Octave, but since I'm teaching a computational physics class next semester in Matlab, having a mostly-compatible language like Octave on the ol' Z sounds like a good plan...)

-->VPutz
omega
vputz - I got gnuplot to compile very easily.... so that means if you're using pdaxrom rc5 there's not much more to making it compile than getting the source... and typing ./configure and make i think on your zaurus.

i haven't used it much either, but i used gnuplot and octave on cacko and when i threw some 3d waveform files i had from matlab it did them all... should be even faster now in pdaxrom with the vector floating point.
lardman
QUOTE
Hmm... maybe GnuPlot and friends could use the assistance earlier, so I could also PLOT from Octave! (or I could just be missing something there).


what's the problem? If you;re using an X based ROM then it works fine, it also works with XQt, or spit out the graph to a png and display it, or use QtPlot which is a Qt frontend to gnuplot.

All this is on the forum already, try a search for gnuplot.

For example: http://www.oesf.org/forums/inde...1458&hl=gnuplot


Si
lardman
QUOTE
i'm pretty sure that i tried that before lardman... it used to work in cacko, but it was complaining about a symbol or something (does it not need to be recompiled for the vector floating point?)


Yes probably. Octave it actually very easy to compile (no configure switches required other than --host=arm-linux; needs GCC 3.xx though), so assuming you have a pdaXrom toolchain setup go for it. The OZ version won't work for you as it uses a later version of libc.


Si
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.