![Phytec Linux-Kit phyCARD-M Quick Start Instructions Download Page 33](http://html1.mh-extra.com/html/phytec/linux-kit-phycard-m/linux-kit-phycard-m_quick-start-instructions_1554142033.webp)
phyCARD-M Getting
Started
© 2010 PHYTEC Messtechnik GmbH L-746e_1
29
2.4
Advanced Configuration Information
In this part you can find some information on how to change the
configuration steps of the setup program by your own. The setup program
performed all the following configuration steps. The information in this
part is for users who want to use the phyCARD-M-Kit with a Linux
distribution other than openSUSE. This is also interesting for users who
want to see what configurations the setup program did.
During the setup program, the GCC C/C++ cross compiler was installed in
the directory
/opt/OSELAS.Toolchain-1.99.3/arm-1136jfs-linux-
gnueabi/gcc-4.3.2-glibc-2.8-binutils-2.19-kernel-2.6.27-sanitized/bin
. To
start the cross compiler directly from every location of the system, the
directory of the cross compiler was added to the $PATH environment
variable. You can manually add the directory of the cross compiler to the
$PATH by adding the following line in the file
/etc/profile:
export PATH=/opt/OSELAS.Toolchain-1.99.3/arm-1136jfs-linux-
gnueabi/gcc-4.3.2-glibc-2.8-binutils-2.19-kernel-2.6.27-
sanitized/bin:“$PATH”
You can open a terminal program and use the cross compiler directly from
the command line. For example, you can compile a C program with the
following command:
arm-1136jfs-linux-gnueabi-gcc –o HelloWorld HelloWorld.c
In the standard configuration only the root user has write access to the
serial interface. To use a serial communication tool like Microcom with
normal user rights, you have to be a member of the group
uucp
. A user can
be added to this group with the following command:
groupmod -A username uucp