Hi Kirby, What you do in the screen you sent me, is what I do in my profile.
I wanted to get rid of the init_env script, since it was only setting some paths and some environment variables. Since I'm the only one working on my Linux PC, I've put everything into /etc/profile: export AXIS_TOP_DIR="/home/foxboard/phrozen/devboard-R2_01" PATH="$AXIS_TOP_DIR/tools/build/bin:$PATH" PATH="/usr/local/cris/bin:$PATH" PATH="/usr/local/gdb-cris:$PATH" PATH="/home/foxboard/devboard/devboard-R2_01:$PATH" PATH="/home/foxboard/phrozen/devboard-R2_01:$PATH" PATH="/home/geertvc/scripts:$PATH" PATH="/home/geertvc/eclipse:$PATH" export PATH export AXIS_KERNEL_DIR="$AXIS_TOP_DIR/os/linux-2.6" I've put this on top of all the rest. Not sure if this is the ideal place (maybe others do know?), but it works. As you see, I indeed make sure the path to the gcc-cris compiler is available from everywhere. Also quite a few variables are made "public" this way. As a result, I never have to do this any more since this script is always run when you're launching Linux. If you're not the only one working on the machine, you can put this into your own .profile. But that might run more than once during a Linux session, I'm not sure about this (maybe every time you login or open a shell?). I will try the way you proposed. If it works fine, then I can adapt my article and make it even more convenient for other users. Apart from that, what was going wrong still? Or can you try first with those modifications? Anyhow, at my side, I can create whatever project I want, it always works. Now I will start with a "serious" project (so far, it was more plug'n'p(l)(r)ay, now the big boys will play the game...). Let me know the outcome, Best rgds, --Geert --- In [email protected], "Kirby W. Cartwright" <[EMAIL PROTECTED]> wrote: > > Geert, > > I haven't been able to get your process to work. > > I have found that you need to set some env. variables > as the Acme "init_env" script does. Please see > the attached screen shot. > > Also, how is your path setup within Eclipse and normally? > My Eclipse cannot find "gcc-cris." > > Regards, > > Kirby Cartwright >
