As Corona688 says, you need a special type of compiler for that.
What you wanna do is called "Cross compilation" for ARM platform, so you need the following tools, which are just a version of gcc that creates binaries for ARM.
If you're trying to compile a Linux kernel for an ARM platform, just use the variables ARCH and CROSS_COMPILE as follow:
Where 'arm-linux-' are the tools from the link i just left you.
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
Hi,
Does anybody have a good pointer on Linux kernel internals for ARM architecture? I can locate plenty for x86 but since ARM is RISC I think there would be subtle changes. So if somebody has a knowledge of good document on Linux Kernel internals for ARM or even a comparative study of kernel on... (0 Replies)
Running a multi-threaded program in my arm board one day or more ,The process down .
In order to get a coredump to analysis of the stack , . I use commands ulimited -c unlimited .
but when the process down . no coredump
But I write a test
#include <stdio.h>
int main(void){
... (14 Replies)
I want to find the ARM assembly language for my sample C code using gcc .I had gcc compiler ,whether it is enough for it or i need to download gcc arm cross compiler.If necessary ,how it configured?I am using fedora (0 Replies)
think only compile is required I wish to compile a sample code
int main()
{
int a=5,b=8,c;
c=a+b;
}
compile using gcc -Wall -g -march=arm922t main.c -o hello
I got an error
:bad value(arm922t) for -march=switch
instead of using march i used mcpu options ,the same... (1 Reply)
Hello all, I have just installed cygwin and arm tools to do some arm assembly programming, but when i try to initialize insight with arm-elf-insight xxx.xxx I receive the message that arm-elf-insight cannot find cygncurses-8.dll. In my lib directory I have cygncurses-10.dll, but not... (0 Replies)
I created and Compiled a C program to run in QEMU for ARM.
When I run the program using the command
#qemu-arm -L /home/arm-2010.09/arm-none-linux-gnueabi/libc ./test
it gives me the following error:
If 'qemu-arm' is not a typo you can use command-not-found to lookup the package that contains... (0 Replies)
Hello everyone. I am running Debian on an ARM7 Device (aka my android phone). Everything is great. Works well.
I would love to use it for Development.
Mainly my interests are in Web Development, and Java development.
So far the only useful IDE for debian arm is Netbeans. Which is pretty... (0 Replies)
Hey all
I've been thinking of switching my x86 Solaris out with ARM 64 Bit and FreeBSD.
Now i know i can migrate my striped-mirror ZFS to FreeBSD.
So to get to the point.
I take advantage of Kernel Zones on Solaris (Routing, Firewall, Web Access and Web Page etc.) and from time to time need... (1 Reply)