I am hoping someone can give me a good free web resource for writing code to compile a binary executable. I am getting fairly decent at writing shell script, are the .f files just shell scripts? Also, I don't know where to begin on the makefiles. The reason I am curious is because I have been tasked with fixing a binary.x and the code looks foreign. The use C instead of # for comments, does this mean it is in the csh? Any help is appreciated, thanks.
Okay thanks! that actually seem very straight forward. But the real problem I'm having is within the files that make up the executable. Do you know of a website that can help me understand the commands that are within those files and such?
Which problem? Be specific. It might not be anything to do with the program. Or might have to do with the way you're compiling it. I can't see your computer from here.
Fortran is a programming language which you will need to learn if you wish to debug it. It doesn't resemble shell.
That is the thing, I need to understand the programming language to find the problem. I realize it may not be the program, but I can't know that if I don't know what the program is telling the computer to do. The reason for my post is to see if anyone could provide a good source for me to learn the language so that I can figure out the problem. I apologize if I am making this difficult. I'm still learning this stuff and it is hard for me to discern what is relevant and what is not.
---------- Post updated at 02:09 PM ---------- Previous update was at 01:16 PM ----------
For anyone else that sees this and needs a reference, I found one here. Thank your help Corona688.
Also, I don't know where to begin on the makefiles.
If you need a (very) short introduction into using "make" and its makefiles you might want to read this introduction i wrote. Real-world makefiles are a lot more complicated than this but it gets you at least started on the idea.
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)
the sorting is based on name of file,
file size
modification time stamps o f file
it should dislay the output in the following format
"." and ".." enteries should be ignored
please give some idea how to do it (1 Reply)
I use Ubuntu 10.4, and I installed GNUStep, Gorm (a gui builder) and ProjectCenter (the GNU alternative to Xcode) because I want to develop Objective-C apps. I opened the ProjectCenter and I created an application that displays only an empty window. I sourced the GNUstep.sh and I compiled the app. ... (0 Replies)
Hi ,
Please help me getting this done.
Write an automated shell program(s) that can create, monitor the log files and report the issues for matching pattern.
(i) Conditions for creating log files.
Log file is created with date (example 2010_03_27.log). If the log file size is 10 Mb for... (1 Reply)
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)
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)
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)
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)
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)