11-21-2006
Not necessary to call the file a.out. That is just the default name. Most C compilers allow you to name the output file using the '-o <filename>' option.
But yes, you need to recompile. Best of luck.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to find out if a executible file created in visual basic will run in the CGI-BIN of a unix server. I see the C section but no mention of VB.
Thanks
Sean (1 Reply)
Discussion started by: seanstog
1 Replies
2. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
3. SuSE
does exe files works withe suse
am new n linux system
and were can i find msn 4 linux (2 Replies)
Discussion started by: abdulla
2 Replies
4. Programming
how we can run the exe when the system starts. (2 Replies)
Discussion started by: phani_sree
2 Replies
5. UNIX for Dummies Questions & Answers
Can you please tell me how I can list all EXE files in a dir and Subdir which where modified say before 01/01/2006 (2 Replies)
Discussion started by: fremont
2 Replies
6. Programming
Is it possible to extract c program,from its executable file(.exe)?
i mean we dont have program but its exe file only which runs,can we retrieve the program?
if yes how?
if no why? (2 Replies)
Discussion started by: unknown9
2 Replies
7. Programming
:confused:Hi
I work on a production server. We have some .exe files in our system, the source of these files are C++ programs that are stored in the development server. How these .exe work. Could somebody please tell that in detail.
Thanks a lot!!
Kanu (8 Replies)
Discussion started by: kanu_pathak
8 Replies
8. Programming
All,
I have never comipled C code before and would appricaite if anyone could tell me how to build a .exe from a C program.
Thanks in advance. (5 Replies)
Discussion started by: thana
5 Replies
9. Programming
hello everyone,
could somebody tell me where can i find some good exercises on signals,processes and threads? actually i need to find some solved exercises in system programming.
tnx (4 Replies)
Discussion started by: micy
4 Replies
10. Shell Programming and Scripting
Hi
I have a open source tool called table text comparator
Link to download that tool: http://www.nirsoft.net/utils/csv_file_comparison.html
I wish to run this tool in our unix servers. In windows O.S i just have to unzip and i can use this tool by running the .exe file. So i want to know how... (6 Replies)
Discussion started by: Ganesh_more
6 Replies
HCC(1) LAM TOOLS HCC(1)
NAME
hcc, mpicc, hcp, mpiCC - Compile LAM C/C++ programs.
SYNTAX
hcc [-showme] ...
hcp [-showme] ...
see cc(1) and CC(1) (or whatever your underlying C/C++ compilers are) for all other options.
DESCRIPTION
hcc and hcp are convenience wrappers for the local native C and C++ compilers. Translation of a LAM program requires the linkage of the
LAM specific libraries which may not reside in one of the standard search directories of ld(1). It also often requires the inclusion of
header files what may also not be found in a standard location. hcc passes its arguments to the local native C compiler along with the -I,
-L and -l options required by LAM programs. This includes all necessary options for ROMIO and/or C++ bindings support (if ROMIO/C++ sup-
port was included when LAM was compiled). hcp is similar, but invokes the native C++ compiler instead.
mpicc is now the same as hcc, just as mpiCC is now the same as hcp. See the NOTES section, below.
By default, hcc uses the C compiler that was selected when LAM was configured (with the --with-cc flag to ./configure, or by setting the
environment variable CC before ./configure was invoked) as the local native C compiler, but this can be overridden by the LAMHCC environ-
ment variable. Likewise, hcp uses the C++ compiler that was selected when LAM was configured (with the --with-cpp flag to ./configure, or
by setting the environment variable CXX before invoking ./configure) by default, but this can be overridden by the LAMHCP environment vari-
able.
OPTIONS
-showme
Does not invoke the underlying C/C++ compiler. Instead, it shows the command line that would be executed to compile the C/C++ pro-
gram.
NOTES
Previous versions of hcc and hcp did not automatically link in the MPI library. Starting with LAM version 6.3, since hcc and hcp have
become the de facto LAM C and C++ compilers, the -lmpi option is now automatically passed to the underlying compiler when linking LAM/MPI
programs.
Previous versions of LAM included the mpicc and mpiCC wrapper scripts to automatically pass -lmpi to hcc and/or hcp. These scripts are now
obsolete since hcc and hcp now include -lmpi automatically. mpicc and mpiCC are now symbolic links to hcc and hcp, respectively, to ensure
backward compatibility.
SEE ALSO
cc(1), CC(1), ld(1), lam-helpfile(5)
LAM 6.5.8 November, 2002 HCC(1)