Sponsored Content
Full Discussion: how to compile a program
Top Forums Programming how to compile a program Post 35311 by norsk hedensk on Saturday 5th of April 2003 07:08:32 PM
Old 04-05-2003
first make sure that you have a compiler installed for the language your using. if you are using C and you have gcc installed, you would do this:
gcc programname.c

that would output this a file called a.out
then you would simply run a.out. that is your program. if it is just a shell script then you dont compile it. it is an interpreted language and all you need to do is run it with the script with whatever shell language you wrote it in.
 

10 More Discussions You Might Find Interesting

1. Programming

How to compile a c program by using gcc

Hi all, Yeasterday I try to compile c program by using cygwin. I just find an errors the fist one is concerinig about the end of the line. To summit my Assignment which is the day after tommorow I have to compile my c program by using just gcc. If any one know what do I have to... (5 Replies)
Discussion started by: Bell
5 Replies

2. Programming

how to compile a program statically

how can i do static compilation in cc and -lldap i have system defined and user defined header file. Can any one suggest any site where from i can get some information about static and dynamic compilation. Thankx (1 Reply)
Discussion started by: bhakti
1 Replies

3. BSD

How to compile a c program in freeBSD

Hi , I have freeBSD installed. I need to compile a c program which has embedded informix sql statement in it. Can you please help me to to do the same. I need to know what I should I do to make BSD compatable to compile the c program ? Thanks in advance Jisha (3 Replies)
Discussion started by: jisha
3 Replies

4. Programming

compile a c program

I am trying to compile a c program on AIX 5.3L 64-bit unix. I have used this program in the past and it works. Does anybody know what this error means? /usr/local/bin> gcc get_epoch_secs.c get_epoch_secs gcc: get_epoch_secs: No such file or directory get_epoch_secs.c: In function... (8 Replies)
Discussion started by: djehresmann
8 Replies

5. Programming

Compile c program on Sun Solaris OS

Can anyone tell me how to compile a c programs on SunSolaris OS 5.1 Version as gcc and cc are not working Thanks!!!! (4 Replies)
Discussion started by: shivu
4 Replies

6. Programming

compile a program in C with teradata sentences using cc

hi, I want to compile a program in C. It have a multiple calls to teradata. I have no idea how to compile in Aix. The compiler that I should be use is cc. I tried cc -G -KPIC tdsfbd0358.c this generates a tdsfbd0358.i and after I have no Idea what I have to make, a link? how?... (3 Replies)
Discussion started by: kajum
3 Replies

7. UNIX for Advanced & Expert Users

compile a c program in a encrypted way

Hi Guys, I wonder I had have a look to the cc compile options but I could be missing one but basically I'm compliling a c program where I will storing a command to connect to a database and also userid and password. The issue is that after the module is generated using a command like strings I... (14 Replies)
Discussion started by: arizah
14 Replies

8. Programming

Not able to compile C program on z/OS (USS)

Hi, I having an issue while compiling a C program in USS (z/OS) machine. I was able to create objest files (.o) from source (.c) files but when I try to create a binary file from the object files I am getting the below error. $ cc util.o sock.o app.o -lnsl -o ptf FSUM3067 The archive... (7 Replies)
Discussion started by: madhu84
7 Replies

9. UNIX and Linux Applications

Cannot compile/install gnu program

Hello, I'm trying to install ansifilter which is a program that translates ansi text to HTML. The idea is to install it on AIX 7.1 but is failing. All de appropriate gcc libraries and requirements for this software were installed successfully, but when I do the gmake I get the following... (4 Replies)
Discussion started by: bazajav
4 Replies

10. Programming

How to compile and run the ProC (*.pc) program?

Hi Team, I am very new to this forum and hope someone will help me in resolving the issue. I am new to Pro C also. I made some changes to the existing Pro C program and want to run the program with the changes. But I am unable to neither compile nor run the program. Please do the... (2 Replies)
Discussion started by: prakashs1218
2 Replies
ISPELL-WRAPPER(1)														 ISPELL-WRAPPER(1)

NAME
ispell-wrapper - smart wrapper for ispell SYNOPSIS
ispell-wrapper [--emacs=name] [--language=regexp] [--dry-run] [ispell options] file Options (all long only options): --emacs=name Set the language to use by emacs dict name --language=regexp Set the language to use by name --dry-run Only show what would have done DESCRIPTION
ispell-wrapper is a wrapper script for ispell intended to be used in a Debian system in conjunction with the infrastructure introduced by the dictionaries-common package. Option --dry-run will show the string to be run without doing anything else. It automatically sets the -d, -w, and -T options to ispell as a function of the chosen language. Of course, this only works for dictionary packages that comply with the above mentioned Policy. Here is how the language is defined (in order of priority): 1) By matching the emacs dict name given in --emacs option to the name of one of the emacs dicts names provided by installed languages in the system. This match must be exact (although is case insensitive). Note that this will override any value given in the --language option. 2) By matching the regexp given in option --language to the list of installed languages in the system. 3) By matching the regexp stored in the environment variable ISPELLDEFAULT to the list of installed languages in the system. 4) By using the value stored in the user-specific file ~/.ispell-default (use select-default-iwrap(1) to set it). 5) By using the value stored in the site-wide file /etc/dictionaries-common/ispell-default (use select-default-ispell(8) as superuser to set it). Note: regexp matches are case-insensitive and the ISO-8859-1 special characters are transformed into their ASCII equivalents. German ess- zet is equivalent to the character "s" and the ae ligature to the character "e". EXAMPLE
Let us say that the following dictionaries are installed in the system (as appearing in the Debconf question at installation time): castellano (Spanish TeX mode) castellano8 (Spanish 8 bit) portugues (European Portuguese) portugues brasileiro (Brazilian Portuguese) Choosing the regexp (either in the --language option or in the environment variable ISPELLDEFAULT) to be "span" will yield an error, since two languages will match ("castellano" and "castellano8"). However, if the regexp is "span.*8", the language "castellano8 (Spanish 8 bit)" will be chosen. ENVIRONMENT
ISPELLDEFAULT Regexp that matches the name of the default language to use, if no --language option is given. FILES
$HOME/.ispell-default Contains the name of the language to use, if no --language option is given or if the ISPELLDEFAULT environment variable is not set. This is a user-specific choice. /etc/dictionaries-common/ispell-default Name of the language to use when everything above is not set. This is a system-wide setting. SEE ALSO
select-default-ispell(8), select-default-iwrap(1) AUTHORS
Rafael Laboissiere 1.12.11 2013-1-22 ISPELL-WRAPPER(1)
All times are GMT -4. The time now is 01:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy