09-13-2010
Hi,
I knew to do a cross compilation we need library supporting cross compiled libraries. There is arm-linux-gcc tool chain available for that and also this will gonna execute on the platform for which it is compiled.
To do make, we have to write Makefile ..
My question was simple, let me make it more simpler, GCC has got compilation for target options
i.e. mcpu, march, etc How can we use that to compile a C code for ARM, MSP or ARC processors?
Can anyone give me sample steps for compiling?
Thanks...
9 More Discussions You Might Find Interesting
1. Solaris
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)
Discussion started by: Ackers
8 Replies
2. Linux
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)
Discussion started by: Rakesh Ranjan
0 Replies
3. Programming
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)
Discussion started by: aobai
14 Replies
4. UNIX for Advanced & Expert Users
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)
Discussion started by: sujith4u87
0 Replies
5. Fedora
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)
Discussion started by: sujith4u87
1 Replies
6. Programming
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)
Discussion started by: Hiox
0 Replies
7. Programming
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)
Discussion started by: rupeshkp728
0 Replies
8. Programming
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)
Discussion started by: CDevelop
0 Replies
9. BSD
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)
Discussion started by: Reclzz
1 Replies
LEARN ABOUT DEBIAN
gnunet-arm
GNUNET-ARM(1) General Commands Manual GNUNET-ARM(1)
NAME
gnunet-arm - control GNUnet services
SYNOPSIS
gnunet-arm [options]
DESCRIPTION
gnunet-arm can be used to start or stop GNUnet services, including the ARM service itself. The ARM service is a supervisor for GNUnet's
service processes. ARM starts services on-demand or as configured and re-starts them if they crash.
OPTIONS
-c FILENAME, --config=FILENAME
Use the configuration file FILENAME.
-e, --end
Shutdown all GNUnet services (including ARM itself). Running "gnunet-arm -e" is the usual way to shutdown a GNUnet peer.
-h, --help
Print short help on options.
-L LOGLEVEL, --loglevel=LOGLEVEL
Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.
-i SERVICE, --init=SERVICE
Starts the specified SERVICE if it is not already running. More specifically, this makes the service behave as if it were in the
default services list.
-k SERVICE, --kill=SERVICE
Stop the specified SERVICE if it is running. While this will kill the service right now, the service may be restarted immediately
if other services depend on it (service is then started 'on-demand'). If the service used to be a 'default' service, its default-
service status will be revoked. If the service was not a default service, it will just be (temporarily) stopped, but could be re-
started on-demand at any time.
-s, --start
Start all GNUnet default services on this system (and also ARM). Naturally, if a service is demanded by a default service, it will
then also be started. Running "gnunet-arm -s" is the usual way to start a GNUnet peer.
-I, --info
List all running services.
-v, --version
Print GNUnet version number.
BUGS
Report bugs by using Mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet-developers@gnu.org>
SEE ALSO
gnunet-service-arm(1)
GNUnet Jan 4, 2012 GNUNET-ARM(1)