02-26-2009
all: asm.ir.c asm.ir.asm.s
asm.ir.c: asm.c
compile asm.c
asm.ir.asm: asm.ir.c
backend asm.ir.c
asm.s: asm.c
gcc -S asm.c
asm.s:
gedit asm.ir.asm asm.s
~
is there anythin wrong with this makefile
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, i have am make file problem too. It is driving me mad!
My make file is:
Code:
program : main.o a.o b.o
cc -o program main.o a.o b.o
main.o : main.c
cc -c main.c
a.o : a.c
cc -c a.c
b.o : b.c
cc -c b.c
When I run it i just get the following error... (2 Replies)
Discussion started by: cb.mark
2 Replies
2. Programming
Hi,
I am trying to make 2 programs using a makefile..
1. gcc aaa.c -o aaa -lrt
2. gcc bbb.c -o bbb -lrt
The makefile for the same has been done as follows....
Show Recent Messages (F3)
CC=gcc
CFLAGS=-g
all: aaa bbb
aaa: aaa.o
$(CC) $(CFLAGS) -o $@ aaa.o (2 Replies)
Discussion started by: jacques83
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
When i am compile the makefile i am getting this error.
make: Fatal error in reader: Makefile, line 25: Extra `:', `::', or `:=' on dependency line
Following Content is the makefile.
HDR_INSTALL = CommonDb.h rpts.h rptslogfmts.h
CCFLAGS+= -g -v
BINDIR = $(INSTALLROOT)/bin... (0 Replies)
Discussion started by: nagasundaramn
0 Replies
4. Shell Programming and Scripting
Hi,
I am getting the follwing error while i was running the shell script to make the build.
make: Fatal error in reader: Makefile.Solaris_2.6, line 157: Unexpected end of
line seen .
May i knwo what does this mean.The line 157 has the last file that is supposed to be copied from the... (2 Replies)
Discussion started by: palurugururaja
2 Replies
5. UNIX for Advanced & Expert Users
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)
Discussion started by: hernandinho
2 Replies
6. Shell Programming and Scripting
Hi,
I had created makefile to compile and create .exe file.
but while executing makefile i am receiving following error
I can create obj and lib files but not able to create executeable file due to following error.
0711-317 Error: undefined symbol: .fn_error(......)
0711-345 use the... (2 Replies)
Discussion started by: Poonamol
2 Replies
7. Homework & Coursework Questions
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)
Discussion started by: Tatl
1 Replies
8. Programming
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
9. Programming
I have the following piece and getting
make
-----------------------------------
getvel
./getvel_main.cpp
./getvel_main.cpp: 1: ./getvel_main.cpp: //: Permission denied
./getvel_main.cpp: 2: ./getvel_main.cpp: //: Permission denied
./getvel_main.cpp: 3: ./getvel_main.cpp: //:... (2 Replies)
Discussion started by: kristinu
2 Replies
10. UNIX for Beginners Questions & Answers
Hi there! I am a undergraduate student and recently submitted an assignment for my coursework - however there was one function I could not get to work properly before the due date. Although I don't need to complete this work anymore I would still like to in order to know what was going wrong. If... (11 Replies)
Discussion started by: cherryTango
11 Replies
LEARN ABOUT DEBIAN
gforth
GForth(1) General Commands Manual GForth(1)
NAME
gforth, gforth-fast, gforthmi - a fast and portable Forth system
SYNOPSIS
gforth [initialization options] [image-specific options] gforth-fast [initialization options] [image-specific options]
gforthmi filename [initialization options] [image-specific options]
DESCRIPTION
GForth is a fast and portable implementation of the Forth programming language. For details read the manual.
ENVIRONMENT VARIABLES
GFORTHPATH contains the search path for source and image files.
GFORTHD gives the gforth executable used by gforthmi for creating the base images. It should be a double indirect threaded system.
Default: gforth-ditc.
GFORTH gives the gforth executable used by gforthmi for computing the relocatable image from the base images. Default: gforth.
GFORTHHIST gives the location of the history file used by gforth to allow command-line recall. Default: $HOME. (The history file is named
.gforth-history).
EXAMPLES
gforth
starts the system and goes into interactive mode.
gforth file1 file2 -e bye
loads and interprets the files file1 and file2, then exits.
gforth-fast
is the same as gforth, except that it does not support accurate backtraces for signals, and is faster by up to a factor of 2. Use it for
debugged, performance-critical programs such as benchmarks.
gforthmi asm.fi -m 1M asm.fs
creates an image asm.fi that has a default dictionary size of 1MB and has the file asm.fs loaded.
OPTIONS
--help
-h Lists the available options, including some not described here (see also the manual).
--image-file file
-i file
Loads the Forth image file instead of the default gforth.fi.
--path path
-p path
Uses path for searching the image file and Forth source code files instead of the default in the environment variable GFORTHPATH or
the path specified at installation time (typically /usr/local/lib/gforth:.. A path is given as a :-separated list.
--dictionary-size size
-m size
Allocate size space for the Forth dictionary space instead of using the default specified in the image (typically 256K). The size
specification consists of an integer and a unit (e.g., 4M). The unit can be one of b (bytes), e (element size, in this case Cells),
k (kilobytes), and M (Megabytes). If no unit is specified, e is used.
--data-stack-size size
-d size
Allocate size space for the data stack instead of using the default specified in the image (typically 16K).
--return-stack-size size
-r size
Allocate size space for the return stack instead of using the default specified in the image (typically 16K).
--fp-stack-size size
-f size
Allocate size space for the floating point stack instead of using the default specified in the image (typically 16K). In this case
the unit specifier e refers to floating point numbers.
--locals-stack-size size
-l size
Allocate size space for the locals stack instead of using the default specified in the image (typically 16K).
--evaluate forth
-e forth
Evaluates the forth code. This option takes only one argument; if you want to evaluate more Forth words, you have to quote them or
use several -es. To exit after processing the command line (instead of entering interactive mode) append -e bye to the command
line. This is an image-specific option of the default image.
FILES
.../gforth.fi default Forth image
*.fi Forth loadable image
*.fs Forth source (sequential)
*.fb Forth source (block)
*.fd generated with makedoc.fs
*.i C include files
*.ds documentation source
*TAGS etags files
SEE ALSO
The Gforth manual - available in hypertext (Info, HTML) and printable (TeX, PS, ASCII) forms.
The ANSI document X3.215-1994 (i.e., the ANS Forth standard).
More information on Gforth (e.g., pointers to new versions, to the manual on the WWW and to papers about Gforth) is available through
http://www.complang.tuwien.ac.at/projects/forth.html.
AUTHORS
Gforth was written by Anton Ertl, Bernd Paysan, Jens Wilke and others.
April 14, 1999 GForth(1)