Services - tools - models - for embedded software development
Embecosm divider strip
Prev  Next

3.6.1.  Reconfiguring GCC

Return to the build directory used to build the original GCC compiler (see Section 3.2.2). Delete the contents and reconfigure GCC this time to include a local prefix for searching (using the --with-local-prefix option to configure).

cd builddir-gcc
rm -rf *
../gcc-3.4.4/configure --target=or32-uclinux --prefix=/opt/or32 \
    --enable-languages=c --with-local-prefix=/opt/or32/or32-uclinux
	

The compiler will preferentially consider include and library files within the /opt/or32/or32-linux directory (in other words the target specific sub-directory of the installation directory), which can be used for all the Linux and uClibc files.

Embecosm divider strip