News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Using Code::Blocks to compile for ARM9 (PandaBoard)

Started by dragondgold, February 19, 2012, 08:20:52 PM

Previous topic - Next topic

dragondgold

Hello ! I am new here, I am from Argentina, my name is Andrés. I recently bought a PandaBoard and i have Ubuntu running on it. I would like to start developing my own aplications on my Windows computer. I havent found anything to install ARM Compiler on Windows, I also was investigating and read something about "cross-compiler" for wxWidgets can anyone explain me that ?
I would like some information, help, to compile and debug ARM programs on Windows any information is very usefull to me :)

Thanks you and sorry my bad English :)

Andres

scarphin

You should consult an ARM forum for this. This forum is only for CodeBlocks related matters. Try googling "yagarto" or "code sourcery".

dragondgold

Heem i think it is in the correct forum (sorry if it isnt) because i want to know how can i setup Code::Blocks to cross-compile whit GCC ARM compiler if anyone could help me :)

Thanks :)

stahta01

Read this link http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps
If you do NOT know how to configure the CB Compiler toolchain ask a good question about what you do NOT understand.
STATE: The name and version of the Compiler and the folder it was installed into.
STATE: The Code::Blocks version.

And, turn on Full Compiler Logging after you get your Compiler Configuration setup up right inside of Code::Blocks.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

dragondgold

Ok sorry, you are right, I apologise.
I am using Ubuntu 11.10 and my Code::Blocks version is 10.05. I would like to know how I can install an ARM Toolchain to work whit Code::Blocks on Ubuntu. Can I install any toolchain like this:

http://www.oliverbehr.de/index.php?option=com_content&view=article&id=50:building-a-gnu-arm-toolchain&catid=39&Itemid=73

And then set it up to work whit Code::Blocks ?

Thanks you very much :)

scarphin

CodeBlocks already supports GNU ARM toolchain, it should work if u just point to the right executables in the compiler config of CB.

dragondgold

#6
Ok thanks you :) I have installed ARM Tool-Chain from Ubuntu repository named gcc-arm-linux-gnueabi, but Code::Blocks doesnt detect GCC ARM Compiler, how i set it up ?

Thanks you :)


Lost_Byte

Quote from: dragondgold on February 21, 2012, 05:29:54 PM
Ok thanks you :) I have installed ARM Tool-Chain from Ubuntu repository named gcc-arm-linux-gnueabi, but Code::Blocks doesnt detect GCC ARM Compiler, how i set it up ?

Thanks you :)

Ubuntu is a good distributive, but with some non-standart solutions. Probably your gcc-arm installed to another path than C::B looking for.
Lokate your complier executables end set property path in C::B Main-menu>settings>"Compiler and debugger">"ToolChain Executables"[Tab]>"Compiler's installation dirrectory", and check if executable names is correct in fields below.