Code::Blocks Forums

User forums => Help => Topic started by: claudio on April 06, 2005, 02:39:27 am

Title: Support for gcc cross-compilers ?
Post by: claudio on April 06, 2005, 02:39:27 am
Hi all,

I am testing Code::Blocks for developing embedded systems.
Instead of using the standard gcc toolchain,  I use the arm-elf-gcc toolchain.
The compiler is called arm-elf-gcc, gdb is called arm-elf-gdb and so on.
The compiler is the same gcc, but generates ARM code instead of x86 code.
I didn't found how to change the compiler name and path in the project build
options inside Code::Block.
Is that possible or it is necessary to change the compiler plug-in ?

Regards,
Claudio
Title: Support for gcc cross-compilers ?
Post by: Anonymous on April 06, 2005, 08:57:58 am
You didn't look good.
Settings->Configure Plugins->Compiler
Add you cross-toolchain and set on "Programs" tab filenames of each tool, after that choose that compiler in you project
That's all.

WBR, Profic
Title: Support for gcc cross-compilers ?
Post by: mandrav on April 06, 2005, 09:19:48 am
Profic is right.
Hopefully it should work. I 've never used a cross-compiler myself, but I don't see why it wouldn't work. It IS a compiler after all ;)

Yiannis.
Title: Support for gcc cross-compilers ?
Post by: rickg22 on April 06, 2005, 09:40:40 pm
Speaking about cross-compiling, is it possible to use GCC to compile Linux ELF binaries *from windows*?

Just a thought.  :roll: