After making the changes you suggested to my program the first error I recieved was:
Code:
Makefile:2: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
This was because I copy and pasted directly from the forum.. after correcting it and re-running the program I then recieved:
Code:
rm -rf cfile.c cfile.out
gcc -g -Wall -pedantic -Wextra cfile.c -w -o cfile.out
gcc: error: cfile.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
Makefile:4: recipe for target 'build' failed
make: *** [build] Error 1
Originally I thought this meant I was in the wrong directory to call the makefile but clearly not if it can actually interpret the lines from the file. I realised I had been deleting the .c file before compiling it so there was nothing to compile. After changing the clean statement to:
Hello World ! ! !
I need libraries to use grib files. I only know the C language at the moment and I am working at the University under Red Hat 9.0. I downloaded the g2clib library (the best that I found) but I did not success to run the makefile. Here is the original file. I modified some... (4 Replies)
Hi
I am new to shell scripting and makefile. I want a command's output in
makefile to process further, can anyone plz suggest me a way ?
I want ls -d *.dsm output in a variable and want to process it in makefile itself.
It's urgent
Thanks In advance (0 Replies)
Hi,
Can we execute a shell script by makefile.
I mean we will write a shell script in a make file and it will be executed when we compile the C++ program using make file. (2 Replies)
Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error:
make: module: command not found
Why is this? Is there any way to run this command in a Makefile?
NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Hello,
I have a Makefile that converts wrl (vrml) files to html files...
how can I use a shell script in that makefile which works on all html files after converting?
The Shell Script have to find and replace a String in every createt html file.
sorry I'm a Newbie, so I hope someone can... (0 Replies)
I have written this makefile and am getting an error saying
make nfd
gfortran -O -Wall -fbacktrace -fno-align-commons -c -o fd.o fd.f
fd.f:49: Error: Can't open included file 'fd.par'
make: *** Error 1
The directory structure is as follows
.
├── library
│ ├── fd
│ │ ├──... (3 Replies)
Discussion started by: kristinu
3 Replies
LEARN ABOUT DEBIAN
ecl
ECL(1) General Commands Manual ECL(1)NAME
ecl - Embeddable Common LISP
SYNOPSIS
ecl [-dir dir] [-load file] [-eval expr]
[-compile file
[-o ofile] [-c [cfile]] [-h [hfile]] [-data [datafile]] [-s] [-q]]
DESCRIPTION
ECL stands for Embeddable Common-Lisp. The ECL project is an effort to modernize Giuseppe Attardi's ECL environment to produce an imple-
mentation of the Common-Lisp language which complies to the ANSI X3J13 definition of the language.
The current ECL implementation features:
o A bytecodes compiler and interpreter.
o A translator to C.
o An interface to foreign functions.
o A dynamic loader.
o The possibility to build standalone executables.
o The Common-Lisp Object System (CLOS).
o Conditions and restarts for handling errors.
o Sockets as ordinary streams.
o The Gnu Multiprecision library for fast bignum operations.
o A simple conservative mark & sweep garbage collector.
o The Boehm-Weiser garbage collector.
ecl without any argument gives you the interactive lisp.
OPTIONS -shell file
Executes the given file and exits, without providing a read-eval-print loop. If you want to use lisp as a scripting language,
you can write #!${exec_prefix}/bin/ecl -shell on the first line of the file to be executed, and then ECL will be automatically
invoked.
-norc Do not try to load the file ~/.eclrc at startup.
-dir Use dir as system directory.
-load file
Loads file before entering the read-eval-print loop.
-eval expr
Evaluates expr before entering the read-eval-print loop.
-compile file
Translates file to C and invokes the local C compiler to produce a shared library with .fas as extension per default.
-o ofile When compiling file name the resulting shared library ofile.
-c cfile When compiling name the intermediary C file cfile and do not delete it afterwards.
-h hfile When compiling name the intermediary C header hfile and do not delete it afterwards.
-data [datafile]
Dumps compiler data into datafile or, if not supplied, into a file named after the source file, but with .data as extension.
-s Produce a linkable object file. It cannot be loaded with load, but it can be used to build libraries or standalone executable
programs.
-q Produce less notes when compiling.
The options -load, -shell, and -eval may appear any number of times, and they are combined and processed from left to right.
AUTHORS
The original version was developed by Giuseppe Attardi starting from the Kyoto Common Lisp implementation by Taiichi Yuasa and Masami
Hagiya. The current maintainer of ECL is Juan Jose Garcia Ripoll, who can be reached at the ECL mailing list.
FILES
~/.ecl, ~/.eclrc
Default initialization files loaded at startup unless the option -norc is provided. (if they exist).
SEE ALSO
ANSI Common Lisp standard X3.226-1994
The Common Lisp HyperSpec
BUGS
Probably some. Report them!
4th Berkeley Distribution 03/10/03 ECL(1)