Sponsored Content
Full Discussion: gcc for arm process
Top Forums Programming gcc for arm process Post 302454976 by Corona688 on Monday 20th of September 2010 12:35:14 PM
Old 09-20-2010
Quote:
Originally Posted by zing_foru
what will we do if we have just a hello world program and want to cross-compile it for MSP or PPC board ... the mcpu and march when can I use these options? OR are these just to make more optimum binaries for the running platform itself?
Are you talking about an MSP board running linux, or a standalone non-linux platform?

Last edited by Corona688; 09-20-2010 at 02:08 PM..
 

9 More Discussions You Might Find Interesting

1. Solaris

Installing gcc - recieve error message gcc : cannot execute

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

Kernel internals for ARM

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

When a process is down - how to get a coredump in arm board?

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

gcc arm compiler

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

gcc arm compiler

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

Cygwin + insight + arm utils

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

Running c code in ARM QEMU

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

IDE's for the ARM processor on Linux

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

Move from Solaris: ARM 64 Bit

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
RC.SENDMAIL(8)						    BSD System Manager's Manual 					    RC.SENDMAIL(8)

NAME
rc.sendmail -- sendmail(8) startup script DESCRIPTION
The rc.sendmail script is used by /etc/rc at boot time to start sendmail(8). It is meant to be sendmail(8) specific and not a generic script for all MTAs. It is only called by /etc/rc if the rc.conf(5) mta_start_script variable is set to /etc/rc.sendmail. The rc.sendmail script can take an optional argument specifying the action to perform. The available actions are: start Starts both the MTA and the MSP queue runner. stop Stops both the MTA and the MSP queue runner. restart Restarts both the MTA and the MSP queue runner. start-mta Starts just the MTA. stop-mta Stops just the MTA. restart-mta Restarts just the MTA. start-mspq Starts just the MSP queue runner. stop-mspq Stops just the MSP queue runner. restart-mspq Restarts just the MSP queue runner. If no action is specified, start is assumed. The rc.sendmail script is also used by /etc/mail/Makefile to enable the Makefile's start, stop, and restart targets. RC.CONF VARIABLES The following variables affect the behavior of rc.sendmail. They are defined in /etc/defaults/rc.conf and can be changed in /etc/rc.conf. sendmail_enable (str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen for incoming network mail. This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. sendmail_cert_create (str) If sendmail_enable is set to ``YES'', create a signed certificate /etc/mail/certs/host.cert representing /etc/mail/certs/host.key by the CA certificate in /etc/mail/certs/cacert.pem. This will enable connecting hosts to negotiate START- TLS allowing incoming email to be encrypted in transit. sendmail(8) needs to be configured to use these generated files. The default configuration in /etc/mail/freebsd.mc has the required options in it. sendmail_cert_cn (str) If sendmail_enable is set to ``YES'' and sendmail_cert_create is set to ``YES'', this is the Common Name (CN) of the certifi- cate that will be created. If sendmail_cert_cn is not set, the system's hostname will be used. If there is no hostname set, ``amnesiac'' will be used. sendmail_flags (str) If sendmail_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. sendmail_submit_enable (bool) If set to ``YES'' and sendmail_enable is set to ``NO'', run sendmail(8) using sendmail_submit_flags instead of sendmail_flags. This is intended to allow local mail submission via a localhost-only listening SMTP service required for running sendmail(8) as a non-set-user-ID binary. Note that this does not work inside jail(2) systems, as jails do not allow binding to just the localhost interface. sendmail_submit_flags (str) If sendmail_enable is set to ``NO'' and sendmail_submit_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. sendmail_outbound_enable (bool) If set to ``YES'' and both sendmail_enable and sendmail_submit_enable are set to ``NO'', run sendmail(8) using sendmail_outbound_flags instead of sendmail_flags. This is intended to allow local mail queue management for systems that do not offer a listening SMTP service. sendmail_outbound_flags (str) If both sendmail_enable and sendmail_submit_enable are set to ``NO'' and sendmail_outbound_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. sendmail_msp_queue_enable (bool) If set to ``YES'', start a client (MSP) queue runner sendmail(8) daemon at system boot time. As of sendmail 8.12, a separate queue is used for command line submissions. The client queue runner ensures that nothing is left behind in the submission queue. sendmail_msp_queue_flags (str) If sendmail_msp_queue_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. These variables are used to determine how the sendmail(8) daemons are started: # MTA if (${sendmail_enable} == NONE) # Do nothing else if (${sendmail_enable} == YES) start sendmail with ${sendmail_flags} else if (${sendmail_submit_enable} == YES) start sendmail with ${sendmail_submit_flags} else if (${sendmail_outbound_enable} == YES) start sendmail with ${sendmail_outbound_flags} endif # MSP Queue Runner if (${sendmail_enable} != NONE && [ -r /etc/mail/submit.cf] && ${sendmail_msp_queue_enable} == YES) start sendmail with ${sendmail_msp_queue_flags} endif To completely prevent any sendmail(8) daemons from starting, you must set the following variables in /etc/rc.conf: sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" SEE ALSO
rc.conf(5), rc(8), sendmail(8) HISTORY
The rc.sendmail file appeared in FreeBSD 4.6. BSD
October 19, 2013 BSD
All times are GMT -4. The time now is 05:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy