05-28-2002
Quote:
Originally posted by killerserv
g++ -o [output file] {filename}...
You will get a specified output file, which can be executed as a.out.
g++ proj09.cpp
will produce a file "a.out" which is the executable of proj09.cpp. To execute it, just type "a.out".
For further information, type "man g++" in a UNIX console.
no manual entry for g++ in solaris console.
raju
10 More Discussions You Might Find Interesting
1. Programming
:( :confused: Does anybody here know how to compile and run C++ programs in UNIX enviroment? I am so confused. Any help on this would be greatly appreciated! Thanks! (5 Replies)
Discussion started by: Kahuashi
5 Replies
2. UNIX for Dummies Questions & Answers
i am a new user of unix
I saved an executable in fortran source code and now i have to compile this executable ( on unix). And i don't know to do it .what is the command?
thank you (2 Replies)
Discussion started by: mono
2 Replies
3. Shell Programming and Scripting
Does a unix compiler come standard on Darwin or do you have to DL one. What programing langauge do you write it in... I know on MS-Dos its a bash file that just uses dos commands, but I keep hearing C in this forum. how would I write and compile code for unix? just cat a new file, use unix... (0 Replies)
Discussion started by: Mars8082686
0 Replies
4. Programming
Hello!
Can somebody tell my where to find Solaris C compiler for Unix environment?
Is it available anywhere on the net for free download ?
Thank you for your help!
:( (3 Replies)
Discussion started by: krasy
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
My name is vreddy and I am learning c language now and written one programme on vi editor.
how do I compile the programme please give me some advice and that would be helpfull for me.
thanks
vre (10 Replies)
Discussion started by: vasudeva
10 Replies
6. Programming
is it possible in the first place?
if so, how should I go about it? (0 Replies)
Discussion started by: finalight
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I am using putty to access my school unix servers.
I have recently downloaded a source file of a software in .tar format. I change the code of the program and compile it in VS8 and build an .exe file.
1) I copy the .exe file to my school account but I could not make it work. How... (2 Replies)
Discussion started by: hkullana
2 Replies
8. 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
9. UNIX for Dummies Questions & Answers
I am not a newbie to Linux, i have been using Linux as my desktop for 4 years, but i am just an end user to Linux, no advanced knowledge to it.
I knew that, i can download generic linux kernel and compile it by myself, but how about Unix? how can i get an Unix kernel and compile it ? or no this... (5 Replies)
Discussion started by: wong.sie.ung
5 Replies
10. UNIX for Dummies Questions & Answers
Hi
Im using MobaXterm Unix on my windows XP.I want to compile java in unix.I have installed java to the following path C:\Program Files\Java\jdk1.7.0_09\bin
In order to compile the java prog im typing the following command after entering into the bin directory:
C:\Program... (2 Replies)
Discussion started by: ak3141
2 Replies
GO(1) General Commands Manual GO(1)
NAME
go - tool for managing Go source code
SYNOPSIS
go command [arguments]
DESCRIPTION
The Go distribution includes a command, named go, that automates the downloading, building, installation, and testing of Go packages and
commands.
COMMANDS
Each command is documented in its own manpage. For example, the build command is documented in go-build(1). The commands are:
build compile packages and dependencies
clean remove object files
doc run godoc on package sources
env print Go environment information
fix run go tool fix on packages
fmt run gofmt on package sources
get download and install packages and dependencies
install
compile and install packages and dependencies
list list packages
run compile and run Go program
test test packages
tool run specified go tool
version
print Go version
vet run go tool vet on packages
EXAMPLES
TODO
SEE ALSO
go-build(1), go-clean(1).
AUTHOR
This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian project (and may be used by others).
2012-05-13 GO(1)