From help-octave-request at bevo dot che dot wisc dot edu Sat Mar 29 05:17:02 2003 Subject: Re: compiling octave-2.1.46 From: avraham dot rosenberg at weizmann dot ac dot il To: Dan Hitt cc: help-octave at bevo dot che dot wisc dot edu Date: Sat, 29 Mar 2003 14:12:05 +0300 (IDT) On Tue, 18 Mar 2003, Dan Hitt wrote: > Hi Avraham, > > I'm certain that you're aware of this, so please forgive me for > mentioning it just in case: it is possible to have more than one > version of gcc active on a system, and in particular you can > have gcc 3.2 coexist with gcc-2.95.So you can build octave > without changing the main compiler for your system.(And that's > what i've done.) > > dan Hi, Now that most of my programs -including octave-2.1.39- are working again and the aliases and keybinding to which I am used are back in place, I can try and follow your advice. I did some RTFM, and asked some of my friends how to do it. I shall sum up the steps I understood I have to take. Would you please check it and mail me your blessing or corrections?. As you did it pretty recently, you are likely to remember correctly all the little details, not only the principles. 1-Download and install somewhere gcc-3.2.2: Did that and installed it in /usr/local/gcc-3.2.2. I have there some executables (notably gcc, g++, g77 -also some others whose role is unknown to me). There are some libraries and some include files as well. 2-Configure and make octave-2.1.44 with options CC=/usr/local/gcc-3.2.2/bin/gcc, CXX=/usr/local/gcc-3.2.2/bin/g++, LD_LIBRARRY_PATH=/usr/local/gcc-3.2.2/lib/. Install it 3-Set LD_LIBRARRY_PATH to /usr/local/gcc-3.2.2/lib/ everytime before starting octave (By the way, do I have to reset it after leaving the program ?) As an exercise to check/improve my knowledge of the linux operating system this is interesting, no matter how much better version 2.1.44 is than version 2.1.39. Nevertheless, I looked in the ChangeLog and NEWS files, to find out what the differences maybe, but I failed. Where should I look for that ? I send this letter (also) directly to you, only because this is the way our correspondence started. As I think that your answer to these questions migh interest others, as well, I CC-ed the message to the list. Thanks for past and future help... Avraham - ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------