Sponsored Content
Full Discussion: Problem compiling program
Top Forums Programming Problem compiling program Post 302072188 by rochitsharma on Friday 28th of April 2006 01:54:54 PM
Old 04-28-2006
Problem compiling program

hi
i am having a problem that when ever i use
cc program_name.c
to compile a program. an error occurs, showing cc not found.
please help.
 

10 More Discussions You Might Find Interesting

1. Programming

Error Compiling C program

Hi All, I tried to compile a C program but i am getting error while Linking . it says Undefined reference to ' ' (here it gives a method name which is defined Globally ). Can any body tell the resaon and remedy for the same . Iam stuck up here . Thanks (3 Replies)
Discussion started by: Vivek
3 Replies

2. Programming

Compiling a program

Hello. I am trying to run a c program on a unix shell (ssh). I have searched this forum but have not come accross the soultion to my problem, so I am posting my question here :cool: I wrote the following simple code: #include <iostream.h> using namespace std; int main() { ... (7 Replies)
Discussion started by: Minnesota Red
7 Replies

3. Programming

Compiling a C program

Help I know nothing about c programming. :confused: I want to compile the below c program. It extracts data from an oracle database into csv files. I have oracle 9206 installed with ProC. I dont have gcc My question is. How the hell do I make this into an file I can run? I am pulling... (3 Replies)
Discussion started by: ooploo
3 Replies

4. Programming

help on compiling a C program on Tiger

here is the very simple bob.c: main() { printf("hello"); } i use tiger and i use the command: gcc bob.c and the end result: bob.c: In function ‘main': bob.c:3: warning: incompatible implicit declaration of built-in function /‘printf' any help appreciated, i'm just starting... (4 Replies)
Discussion started by: cleansing_flame
4 Replies

5. Solaris

Compiling and Running C Program on Solaris

Hello Guys, I am using Solaris Developer Express Edition 9/07, I am a beginner. Please tell me how to compile and execute a C program. Please give me your answers clearly, for the compilers cc,c89,c99. please....... reply to me. I not getting the answer anywhere.. Advance... (2 Replies)
Discussion started by: selva_ss
2 Replies

6. Programming

compiling c program in unix

if somebody can help me pls. i need the source code for a shell which compiles C or java programs in unix i need a very short and simple one, just the compiling part Respect (2 Replies)
Discussion started by: zlatan005
2 Replies

7. Programming

compiling old C program in Linux.

Hello, I am writing to ask for support about compiling an very old but famous C-progam for genetics study called MapMaker/QTL, and the source code is available from MIT: http://www.broadinstitute.org/ftp/distribution/software/mapmaker3/The program was originally designed for systems like SunOS... (1 Reply)
Discussion started by: yifangt
1 Replies

8. UNIX for Dummies Questions & Answers

Problem compiling 3rd party g++ program

I'm trying to compile a 3rd party program used for solid-state chemistry that calculates pore characteristics of an input material. The program was written between 2000 and 2006, so I believe the problem is that the headers used are outdated, but I'm not terribly computer savvy (and a complete... (1 Reply)
Discussion started by: motrax
1 Replies

9. Programming

Compiling a 64 bits program using gcc

Hi Everyone, I can ask what is the option to compile a 64 bits program using gcc. I have looked everywhere but can't find it. Before I used to use cc and the -q64 flag was the option to generate the 64 bits binary. Can anyone tell me what is the flags when using gcc. Thanks...... (3 Replies)
Discussion started by: arizah
3 Replies

10. UNIX for Advanced & Expert Users

Error compiling program with extension .c

good morning, I have 64-bit DB2 V9.7 AIX 7.1.0.0 I am compiling a C program, when running cc-I / rutadb2/include-c programa.c this error. ksh: cc: not found. how I can check if I have installed the C compiler? Any help will be greatly appreciated. Thank you very much and best regards. (2 Replies)
Discussion started by: systemoper
2 Replies
Bio::Tools::Run::Primer3(3pm)				User Contributed Perl Documentation			     Bio::Tools::Run::Primer3(3pm)

NAME
Bio::Tools::Run::Primer3 - Create input for and work with the output from the program primer3 SYNOPSIS
Bio::Tools::Primer3 creates the input files needed to design primers using primer3 and provides mechanisms to access data in the primer3 output files. This module provides a bioperl interface to the program primer3. See http://frodo.wi.mit.edu/primer3/primer3_code.html for details and to download the software. This module only works for primer3 release 1 but is not guaranteed to work with earlier versions. # design some primers. # the output will be put into temp.out use Bio::Tools::Run::Primer3; use Bio::SeqIO; my $seqio = Bio::SeqIO->new(-file=>'data/dna1.fa'); my $seq = $seqio->next_seq; my $primer3 = Bio::Tools::Run::Primer3->new(-seq => $seq, -outfile => "temp.out", -path => "/usr/bin/primer3_core"); # or after the fact you can change the program_name $primer3->program_name('my_suprefast_primer3'); unless ($primer3->executable) { print STDERR "primer3 can not be found. Is it installed? "; exit(-1) } # what are the arguments, and what do they mean? my $args = $primer3->arguments; print "ARGUMENT MEANING "; foreach my $key (keys %{$args}) {print "$key ", $$args{$key}, " "} # set the maximum and minimum Tm of the primer $primer3->add_targets('PRIMER_MIN_TM'=>56, 'PRIMER_MAX_TM'=>90); # design the primers. This runs primer3 and returns a # Bio::Tools::Run::Primer3 object with the results $results = $primer3->run; # see the Bio::Tools::Run::Primer3 pod for # things that you can get from this. For example: print "There were ", $results->number_of_results, " primers "; Bio::Tools::Run::Primer3 creates the input files needed to design primers using primer3 and provides mechanisms to access data in the primer3 output files. This module provides a bioperl interface to the program primer3. See http://www-genome.wi.mit.edu/genome_software/other/primer3.html for details and to download the software. This module is based on one written by Chad Matsalla (bioinformatics1@dieselwurks.com). I have ripped some of his code, and added a lot of my own. I hope he is not mad at me! FEEDBACK
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated. bioperl-l@bioperl.org - General discussion http://www.bioperl.org/MailList.html - About the mailing lists Support Please direct usage questions or support issues to the mailing list: bioperl-l@bioperl.org rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web: http://redmine.open-bio.org/projects/bioperl/ AUTHOR
Rob Edwards redwards@utmem.edu Based heavily on work of Chad Matsalla bioinformatics1@dieselwurks.com CONTRIBUTORS
Shawn Hoon shawnh-at-stanford.edu Jason Stajich jason-at-bioperl.org Brian Osborne osborne1-at-optonline.net SEE ALSO
Bio::Tools::Primer3 APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ new() Title : new() Usage : my $primer3 = Bio::Tools::Run::Primer3->new(-file=>$file) to read a primer3 output file. my $primer3 = Bio::Tools::Run::Primer3->new(-seq=>sequence object) design primers against sequence Function: Start primer3 working and adds a sequence. At the moment it will not clear out the old sequence, but I suppose it should. Returns : Does not return anything. If called with a filename will allow you to retrieve the results Args : -seq (optional) Bio::Seq object of sequence. This is required to run primer3 but can be added later with add_targets() -outfile file name to output results to (can also be added with $primer3->outfile_name -path path to primer3 executable, including program name, e.g. "/usr/bin/primer3_core". This can also be set with program_name and program_dir -verbose (optional) set verbose output Notes : program_name Title : program_name Usage : $primer3->program_name() Function: holds the program name Returns: string Args : None program_dir Title : program_dir Usage : $primer3->program_dir($dir) Function: returns the program directory, which may also be obtained from ENV variable. Returns : string Args : add_targets() Title : add_targets() Usage : $primer3->add_targets(key=>value) Function: Add any legal value to the input command line. Returns : Returns the number of arguments added. Args : Use $primer3->arguments to find a list of all the values that are allowed, or see the primer3 docs. Notes : This will only do limited error checking at the moment, but it should work. run() Title : run() Usage : $primer3->run(); Function: Run the primer3 program with the arguments that you have supplied. Returns : A Bio::Tools::Primer3 object containing the results. Args : None. Note : See the Bio::Tools::Primer3 documentation for those functions. arguments() Title : arguments() Usage : $hashref = $primer3->arguments(); Function: Describes the options that you can set through Bio::Tools::Run::Primer3, with a brief (one line) description of what they are and their default values Returns : A string (if an argument is supplied) or a reference to a hash. Args : If supplied with an argument will return a string of its description. If no arguments are supplied, will return all the arguments as a reference to a hash Notes : Much of this is taken from the primer3 README file, and you should read that file for a more detailed description. version Title : version Usage : $v = $prog->version(); Function: Determine the version number of the program Example : Returns : float or undef Args : none _input_args() Title : _input_args() Usage : an internal method to set the input arguments for Primer3 Function: Define a hash with keys for each of the input arguments and values as a short one line description Returns : A reference to a hash. Args : None. Notes : Much of this is taken from the primer3 README file, and you should read that file for a more detailed description. perl v5.12.3 2011-06-18 Bio::Tools::Run::Primer3(3pm)
All times are GMT -4. The time now is 02:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy