Rockbox Development > Starting Development and Compiling

Cross compilers

(1/3) > >>

007quick:
Hello, I am using mandriva linux and ran the /tools/rockboxdec.sh script shell but it says that I am to add user/local/bin/arm-elf...... to the "Path"
What is the "Path" and how do I add that directory to the "Path"
Thx in advance! ;)

(Man you are quick Llorean!)

saratoga:
Check this:

http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler

Under the building gcc, section.  Should work.

007quick:
YAY I DID IT! :D :D :D
THANK YOU VERY MUCH!

007quick:
Ok here is where it stands.
Using the directions from the cygwin directions i am able to temporarily specify a "Path"
My Profile file is different than that of what they show as an example (expected)
Here is my profile file (sorry if it is big) Could someone point out were I am supposed to add the line that the cygwin directions tell you too? That would be great!
# /etc/profile -*- Mode: shell-script -*-
# (c) MandrakeSoft, Chmouel Boudjnah

loginsh=1

# Users generally won't see annoyng core files
[ "$UID" = "0" ] && ulimit -S -c 1000000 > /dev/null 2>&1

if ! echo ${PATH} |grep -q /usr/X11R6/bin ; then
    PATH="$PATH:/usr/X11R6/bin"
fi

if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then
    PATH=$PATH:/usr/games
fi

umask 022

USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
HISTCONTROL=ignoredups
HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
    INPUTRC=/etc/inputrc
fi

# some old programs still use it (eg: "man"), and it is also
# required for level1 compliance for LI18NUX2000
NLSPATH=/usr/share/locale/%l/%N

export PATH PS1 USER LOGNAME MAIL HOSTNAME INPUTRC NLSPATH
export HISTCONTROL HISTSIZE

for i in /etc/profile.d/*.sh ; do
   if [ -x $i ]; then
      . $i
   fi
done

unset i

saratoga:
I actually have never bothered to edit the statup script, but I believe you could just add the export command you typed into the command line anywhere in that file (well outside of any loops and ifs would work best).

Navigation

[0] Message Index

[#] Next page

Go to full version