Hello, I have compiled the GNU toolchain for powerpc-elf target with Cygwin. The versions for the tools are: Binutils-2.17 gcc-4.1.2 newlib-1.15.0 and for the configure flags I used: for gcc bootstrap: --target=$TARGET --prefix=$PREFIX --without-headers --with-newlib --with-gnu-as --with-gnu-ld --disable-softfloat for newlib: --target=$TARGET --prefix=$PREFIX --enable-newlib-hw-fp --disable-softfloat --disable-shared and for gcc with newlib: --target=$TARGET --prefix=$PREFIX --with-newlib --with-gnu-as --with-gnu-ld --disable-shared --disable-libssp --disable-softfloat The build had no errors. Then I installed the toolchain and after that I tried to use it with a code group I have. All the compilations for the individual C files are OK but the linker gave the error: The command is powerpc-elf-gcc --nostartfiles -g -static -Tlinkcmds -o bin/sdram-test.elf bin/sdram-test.o ../lib/crt0.o -lbsp -lc -lnosys -static and the error is: "powerpc-elf/bin/ld: error: no memory region specified for loadable section `.rela.dyn' " Is it related to the configuration flags? I googled the error and found out that it is because of dynamic linking and a "shared library" problem. How can I compile the toolchain as "static"? Isn't the " --disable-shared" flag enough for it? Thanks. -- View this message in context: http://www.nabble.com/Gcc-4.1.2-%60.rela.dyn%27-problem-tf3531025.html#a9854005 Sent from the gcc - Help mailing list archive at Nabble.com.