05-27-2006
i am having both system SPARC & x86. Solaris version is 8.
9 More Discussions You Might Find Interesting
1. Programming
I have just installed C compiler, the installation
was successful but when I try to excute a gcc file I received the error message
"types.c: In function `main':
> types.c:4: warning: return type of `main' is not `int'
> ld: fatal: file values-Xa.o: open failed: No such file or directory
>... (5 Replies)
Discussion started by: hassan2
5 Replies
2. Programming
i'm using linux to compile my c program right now. are there any free c compiler with all the standard header file, such as <stdio.h>, <unistd.h>..., i can download and use?
can Microsoft Visual C++ compile C code?
thanks. (1 Reply)
Discussion started by: bb00y
1 Replies
3. Programming
I'm new to C but eager to get started. I purchasewd beginning C by Ivor Horton and realise that I need a C compiler. I looking for the most appropriate and economical way to obtain this, any suggestions would be greatly appreciated. (5 Replies)
Discussion started by: ferret
5 Replies
4. Solaris
Hello Everyone!!!
Can i use the C shell to compile a C program ? how ? please teach me how to compile ? Thanks!!!!
Giancarlo D. Jabon (1 Reply)
Discussion started by: giancarlodjabon
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies
6. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
7. Solaris
Greetings, :rolleyes: :o :confused:
I am working on Solaris 8. I have a few questions:
1. How do I determine if I have the CC compiler? I know it isn't in my $PATH, so how do I find it?
2. How do you install wget? I have read the INSTALL file, but I am not familar with the switches,... (25 Replies)
Discussion started by: Roam
25 Replies
8. UNIX for Dummies Questions & Answers
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
9. Shell Programming and Scripting
I have the code
.section .data
format_string: .asciz "Tong la '%d'\n"
n: .int 6
.section .text
.globl _start
_start:
movl $0,%esi
movl n,%eax
movl $0,%ecx
loop1:
cmp %eax,%ecx
je print
add %eax,%esi
dec %eax
jmp loop1
print:
movl $format_string, %edi
movl $0, %eax (1 Reply)
Discussion started by: toantk_55
1 Replies
nca.if(4) File Formats nca.if(4)
NAME
nca.if - the NCA configuration file that specifies physical interfaces
SYNOPSIS
/etc/nca/nca.if
DESCRIPTION
Specify the physical interfaces for which the Solaris Network Cache and Accelerator ("NCA") feature will be configured in the nca.if con-
figuration file. List the physical interfaces in the file, one per line. To configure NCA to listen on all physical interfaces present on
the system backed by a hostname.{interface_name}, then list only an asterik ("*") in nca.if.
When the ncakmod(1) initialization script is invoked during system boot, it will attempt to configure each physical interface specified in
the nca.if file by using ncaconfd(1M). Note that there must be an accompanying hostname.{interface_name} file and an entry in /etc/hosts
for the contents of hostname.{interface_name}.
You must reboot in order to implement changes to the nca.if file.
EXAMPLES
x86
Example 1: nca.if on x86
The following is an example of an nca.if file that would be used on an x86 system:
iprb1
iprb6
iprb8
SPARC
Example 2: nca.if on SPARC
The following is an example of an nca.if file that would be used on a SPARC system:
hme2
hme3
hme4
All Platforms
Example 3: Configuring NCA to Listen on All Physical Interfaces
The following example shows the contents of an nca.if file that would be used to configure either platform to listen on all physical inter-
faces present on the system:
*
FILES
/etc/nca/nca.if Lists the physical interfaces on which NCA will run.
/etc/hostname.{}{0-9} Lists all physical interfaces configured on the server.
/etc/hosts Lists all host names associated with the server. Entries in this file must match with entries in /etc/host-
name.{}{0-9} for NCA to function.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWncar |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
nca(1), ncab2clf(1), ncakmod(1), ifconfig(1M), ncakmod.conf(4), ncalogd.conf(4), attributes(5)
System Administration Guide: IP Services
SunOS 5.10 18 Feb 2003 nca.if(4)