06-16-2003
C Compiler advice
Thanks to all of you guys for pointing me in the right direction. Now for the fun part. I guess its true, 'you're not alone'.
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. 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
4. Programming
my C compiler cc is not working. probably it has corrupted.
can anyone tell me location from where i can download it.
Regards (4 Replies)
Discussion started by: rochitsharma
4 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
HF77(1) LAM TOOLS HF77(1)
NAME
hf77, mpif77 - Compile LAM FORTRAN programs.
SYNTAX
hf77 [-showme] ...
see f77(1) (or whatever your underlying FORTRAN compiler is) for all other options.
DESCRIPTION
hf77 is a convenience wrapper for the local native FORTRAN compiler. Translation of a LAM program requires the linkage of the LAM essen-
tial services libraries which may not reside in one of the standard search directories of ld(1). hf77 passes its arguments along to the
local native FORTRAN compiler along with the -L and -l options required by LAM/MPI programs. This includes all necessary options for ROMIO
and/or C++ bindings support (if ROMIO/C++ support was included when LAM was compiled).
mpif77 is now the same as hf77. See the NOTES section, below.
By default, hf77 uses the FORTRAN compiler that was selected when LAM was configured (with the --with-fc flag to ./configure) as the local
native FORTRAN compiler, but this can be overridden by the LAMHF77 environment variable.
OPTIONS
-showme
Does not invoke the underlying FORTRAN compiler. Instead, it shows the command line that would be executed to compile the FORTRAN
program.
NOTES
Previous versions of hf77 did not automatically link in the MPI library. Starting with LAM version 6.3, since hf77 has become the de facto
LAM FORTRAN compiler, the -lmpi option is now automatically passed to the underlying compiler when linking LAM/MPI programs.
Previous versions of LAM included the mpif77 wrapper script to automatically pass -lmpi to hf77. This script is now obsolete since hf77
now includes -lmpi automatically. mpif77 is now a symbolic link to hf77 to ensure backward compatibility.
SEE ALSO
f77(1), ld(1), lam-helpfile(1)
LAM 6.5.8 November, 2002 HF77(1)