05-27-2012
Trying to compile in Emacs
I'm trying to compile two files in Emacs (guess.cpp and yesno.cpp). So I open up Emacs (the text version) and give the command M-x and then I try to type in "g++ -o asst guess.cpp yesno.cpp". But everytime after I type "g++" and try to do a space after that, it says [No Match] and wont let me type a space?
Thanks ahead of time for your help!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am working with xEmacs 21.1 patch 14.
I see I can configure it to be very User Friendly.
I can highlight variables, color them, and actually make it look like a Visual IDE.
How do I configure it?
How do I color Variables in one color, and make them bold, and how do I change the... (1 Reply)
Discussion started by: sierra_aar
1 Replies
2. UNIX for Advanced & Expert Users
Hi
How can I do ftp using emacs. I strart the function by M-x ftp. It connects to the server where I can see the list of files. how can I do put or get there?
Thanks
SS (1 Reply)
Discussion started by: saurya_s
1 Replies
3. UNIX for Dummies Questions & Answers
Hi guys
What is the difference between Xemacs and emacs. I assumed Xemacs runs only in X11.
What about in Linux on KDE? Am I running Xemacs or emacs. Well it says emacs though.
What is the advantage of one over other?
What can I run on OS X ?
SS (5 Replies)
Discussion started by: saurya_s
5 Replies
4. UNIX for Dummies Questions & Answers
Any one has a good documentation on How To Use EMACs editor??
Thanks
Ven :eek: (4 Replies)
Discussion started by: VENC22
4 Replies
5. UNIX and Linux Applications
Hey everybody!
Not sure if this goes here, but I think it's the best fit.
I was just wondering, how do I use a compiler from Emacs?
Also, how do I turn syntax highlighting on?
Thanks in advance! (5 Replies)
Discussion started by: led3234
5 Replies
6. Solaris
Hello, Does anyone know where there is an nice step by step to install emacs?
Or is ti just as easy as download, untar, run an install script sort of deal? (3 Replies)
Discussion started by: komputersman
3 Replies
7. UNIX for Dummies Questions & Answers
could someone please tell me how do I work emacs on unix?? how do you input the command and open up files and edit stuff. I know M-x info will lauch the info viewer, C-x u is undo, M-x spell-region run a spell check but when i use some of these command on emacs in Unix, I'm getting no results or... (1 Reply)
Discussion started by: starwind4
1 Replies
8. UNIX for Dummies Questions & Answers
How do you change characters in emacs? for example, I would like my files to appear written in "Arial" or "Thaoma".. (1 Reply)
Discussion started by: vero_81
1 Replies
9. UNIX for Dummies Questions & Answers
I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way..
How to use emacs editor? Also how to open existing emacs files with .cgi format?
I have the following link :-
http link i.e. url and path : /abc/xyz.dev/xyz/documents
What... (7 Replies)
Discussion started by: swathi123
7 Replies
FC(1) General Commands Manual FC(1)
NAME
fc - frontend script to the f2c fortran compiler
SYNOPSIS
/usr/bin/fc [-o objfile] [-c] [-S] [-C] [-u] [-w] [-w66] [-D switch] [-I includepath] [-Ntnnn] [-P] files [-l library]
DESCRIPTION
fc is a script intended to be used as a front end to the f2c FORTRAN-to-C translator. It is supposed to make the whole f2c and C compiler
setup look like a real Fortran compiler.
File arguments with a .f suffix are compiled as Fortran source. Files with a .F suffix are passed through the C preprocessor cpp(1) first.
Files with .c (C source) or .s (assembly source) suffixes are passed to the C compiler directly. Files with a .e suffix are treated as efl
source files, and files with a .r suffix are treated as RATFOR source files.
OPTIONS
-o objfile
Produce an output executable named objfile rather than using the default name a.out.
-c Do not call the linker; instead, leave relocatable object files as *.o.
-S Produce assembly output as file.s
-C Compile in extra code to check that array subscripts are in bounds.
-l library
Libraries specified with this option are passed to the linker.
-U def Definitions specified with this option are passed to C compiler (for .c files) or to cpp (for .F files) to remove definition.
-u Complain about undeclared variables.
-v, --version
Print version of f2c in use
-w Omit all warning messages.
-w66 Omit Fortran 66 (Fortran IV) compatibility warning messages.
-D switch
The given switch is passed to the C compiler (for .c files), to cpp (for .F files) and to f2c.
-I includepath
Passed to the C compiler (for .c files), to cpp (for .F files) and to f2c.
-Ntnnn Allow nnn entries in table t.
-P Emit .P files.
BUGS
fc isn't really very good -- try fort77 (1), which does a better job.
This manual page isn't really very good either...
AUTHOR
S. Feldman, D. Gay, M. Maimone, N, Schryer are all mentioned in the paper on the conversion of Fortran to C.
Peter Maydell (pmaydell@chiark.greenend.org.uk) wrote this manual page, and Alan Bain (alanb@chiark.greenend.org.uk) made some minor modi-
fications.
SEE ALSO
f2c(1), fort77(1), cc(1), cpp(1), ratfor(1)
May 1999 FC(1)