Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » change the cpu architecture
change the cpu architecture [message #179636] Tue, 14 November 2006 11:06 Go to next message
Eclipse UserFriend
hi there,
I want to change the cpu architecture to ARM. I found some cpu
architectures in PE.java, Elf.java & DebugCongiguration.java files but how
to use it, because I want my final output for ARM architecture so for that
I am using ARM specific GNU tools, please tell me what should I do to
solve this?.


And also I am not able to bind libraries to my Managed make C project,
I have tried it from project properties -> C/C++ Build -> Tool Settings
-> GCC C Linker -> Libraries
under this I have tried both the options -l & -L but it gives me error
that "<path> ld: cannot find <file>.a file"
what should I do to solve this?

please help Me to solve both the problems

Thanks in advance
Parag
Re: change the cpu architecture [message #179685 is a reply to message #179636] Tue, 14 November 2006 13:05 Go to previous messageGo to next message
Eclipse UserFriend
Parag,
One way to do it is to download and install the Eclipse ARM tools from Actel
called SoftConsole.

The other way is a bit harder.
Download the GNU C compiler, Binary tools and GDB from the GNU website.
Recompile them for the ARM processor.
Copy them into your default gcc directory.
Ray

"parag" <paragpvaidya@gmail.com> wrote in message
news:96828e4849eebbb3a66d39b7d4d0d389$1@www.eclipse.org...
> hi there,
> I want to change the cpu architecture to ARM. I found some cpu
> architectures in PE.java, Elf.java & DebugCongiguration.java files but how
> to use it, because I want my final output for ARM architecture so for that
> I am using ARM specific GNU tools, please tell me what should I do to
> solve this?.
>
>
> And also I am not able to bind libraries to my Managed make C project,
> I have tried it from project properties -> C/C++ Build -> Tool
> Settings -> GCC C Linker -> Libraries under this I have tried both the
> options -l & -L but it gives me error
> that "<path> ld: cannot find <file>.a file"
> what should I do to solve this?
>
> please help Me to solve both the problems
>
> Thanks in advance
> Parag
>
>
>
Re: change the cpu architecture [message #179703 is a reply to message #179685] Tue, 14 November 2006 14:03 Go to previous messageGo to next message
Eclipse UserFriend
Parag,
The wiki at http://wiki.eclipse.org/index.php/CDT/User/FAQ
has agreat deal of info on cross-compilers.
Ray

"Ray Hurst" <raymond.hurst@wdc.com> wrote in message
news:ejd0hg$f9b$1@utils.eclipse.org...
> Parag,
> One way to do it is to download and install the Eclipse ARM tools from
> Actel called SoftConsole.
>
> The other way is a bit harder.
> Download the GNU C compiler, Binary tools and GDB from the GNU website.
> Recompile them for the ARM processor.
> Copy them into your default gcc directory.
> Ray
>
> "parag" <paragpvaidya@gmail.com> wrote in message
> news:96828e4849eebbb3a66d39b7d4d0d389$1@www.eclipse.org...
>> hi there,
>> I want to change the cpu architecture to ARM. I found some cpu
>> architectures in PE.java, Elf.java & DebugCongiguration.java files but
>> how to use it, because I want my final output for ARM architecture so for
>> that I am using ARM specific GNU tools, please tell me what should I do
>> to solve this?.
>>
>>
>> And also I am not able to bind libraries to my Managed make C
>> project,
>> I have tried it from project properties -> C/C++ Build -> Tool
>> Settings -> GCC C Linker -> Libraries under this I have tried both the
>> options -l & -L but it gives me error
>> that "<path> ld: cannot find <file>.a file"
>> what should I do to solve this?
>>
>> please help Me to solve both the problems
>>
>> Thanks in advance
>> Parag
>>
>>
>>
>
>
Re: change the cpu architecture [message #179734 is a reply to message #179685] Tue, 14 November 2006 16:03 Go to previous messageGo to next message
Eclipse UserFriend
Parag,
Here is the CDT wiki:
http://wiki.eclipse.org/index.php/CDT/User/FAQ

Another option is to build a standard make project and build the makefile
yourself using the compiler tools of your choice.
Ray

"Ray Hurst" <raymond.hurst@wdc.com> wrote in
message news:ejd0hg$f9b$1@utils.eclipse.org...
> Parag,
> One way to do it is to download and install the Eclipse ARM tools from
> Actel called SoftConsole.
>
> The other way is a bit harder.
> Download the GNU C compiler, Binary tools and GDB from the GNU website.
> Recompile them for the ARM processor.
> Copy them into your default gcc directory.
> Ray
>
> "parag" <paragpvaidya@gmail.com> wrote in message
> news:96828e4849eebbb3a66d39b7d4d0d389$1@www.eclipse.org...
>> hi there,
>> I want to change the cpu architecture to ARM. I found some cpu
>> architectures in PE.java, Elf.java & DebugCongiguration.java files but
>> how to use it, because I want my final output for ARM architecture so for
>> that I am using ARM specific GNU tools, please tell me what should I do
>> to solve this?.
>>
>>
>> And also I am not able to bind libraries to my Managed make C
>> project,
>> I have tried it from project properties -> C/C++ Build -> Tool
>> Settings -> GCC C Linker -> Libraries under this I have tried both the
>> options -l & -L but it gives me error
>> that "<path> ld: cannot find <file>.a file"
>> what should I do to solve this?
>>
>> please help Me to solve both the problems
>>
>> Thanks in advance
>> Parag
>>
>>
>>
>
>
Re: change the cpu architecture [message #179758 is a reply to message #179685] Tue, 14 November 2006 23:54 Go to previous messageGo to next message
Eclipse UserFriend
thanks for reply.
But I am using ARM sepcific GNU tools. Still it's not working.

please help me.

Thanks,
parag
Re: change the cpu architecture [message #179813 is a reply to message #179636] Wed, 15 November 2006 07:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: deliciap.cradle.com

> And also I am not able to bind libraries to my Managed make C project,
> I have tried it from project properties -> C/C++ Build -> Tool
> Settings -> GCC C Linker -> Libraries under this I have tried both the
> options -l & -L but it gives me error
> that "<path> ld: cannot find <file>.a file"
Could you give an e.g. of what you tried for -l & -L ?
BTW, -L is used to specify the library path, & -l denotes the library name,
so you might need to give both.

Delicia.
Re: change the cpu architecture [message #179884 is a reply to message #179636] Wed, 15 November 2006 13:48 Go to previous message
Eclipse UserFriend
Parag,
Check the news subject "C/C++ project problem by Mats Blide" topic and see
if it answers your questions.
There was enough info there to tell me how to use a cross-compiler.
I am currently using Eclipse for an ARM development myself and use it to
look at the binaries.
I haven't tried compiling it yet as we use an ARM compiler tool set.
The information provided by Derek Morris allows me to make the required
changes to use our compiler.
Ray


"parag" <paragpvaidya@gmail.com> wrote in message
news:96828e4849eebbb3a66d39b7d4d0d389$1@www.eclipse.org...
> hi there,
> I want to change the cpu architecture to ARM. I found some cpu
> architectures in PE.java, Elf.java & DebugCongiguration.java files but how
> to use it, because I want my final output for ARM architecture so for that
> I am using ARM specific GNU tools, please tell me what should I do to
> solve this?.
>
>
> And also I am not able to bind libraries to my Managed make C project,
> I have tried it from project properties -> C/C++ Build -> Tool
> Settings -> GCC C Linker -> Libraries under this I have tried both the
> options -l & -L but it gives me error
> that "<path> ld: cannot find <file>.a file"
> what should I do to solve this?
>
> please help Me to solve both the problems
>
> Thanks in advance
> Parag
>
>
>
Previous Topic:C/C++ project problem
Next Topic:Only CDT not JDT
Goto Forum:
  


Current Time: Sun Nov 09 11:22:25 EST 2025

Powered by FUDForum. Page generated in 0.04703 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top