10 More Discussions You Might Find Interesting
1. Programming
I can't compile anything, the final make error says "Command failed for target `install-recursive'", but I am not able to identify the root cause of that error, I tried with cc, gcc 4.5, also gcc 5.2, using make, using gmake 3.82, ld 5.11, gld 2.31... and I am totally stuck yet... please help, to... (4 Replies)
Discussion started by: sugar222
4 Replies
2. Red Hat
Hi All,
I am trying to compile httpd2.2.19 in RHEL5.5 using gcc version 4.1.2. This is first time I am trying to compile httpd in RHEL.
I ran configure with below option
./configure --prefix=/usr/local/apache --enable-rewrite --enable-ssl=shared... (0 Replies)
Discussion started by: kalpeer
0 Replies
3. 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
4. SuSE
Hi all!
I have posted in the Shell Programming Scripting Forum for a problem with the use of shc and so on...
You can read it complete here: shell-programming-scripting/148510-problems-using-shc.html
I think the problem is: that there aren't compiler installed on the SuSe 10.2 server,... (4 Replies)
Discussion started by: Magius
4 Replies
5. AIX
Hi All,
We are in the processing of upgrading our AIX server OS from 5.2.0.0 to 6.1. And we have a set of highly critical running C applications in AIX box. I have a question like whether this upgradation of OS will affect any C code compilation and C runtime enviornment...
how does AIX 6.1... (1 Reply)
Discussion started by: karthikc
1 Replies
6. Programming
I am new to comiling c/c++ programs with gcc compilier
unix - AIX version 5.3
gcc compiler version - 4.0.0
My makefile.
# makefile 1.0 08/20/98
#CC = cc
CC = gcc
ESQL = esql
CFLAGS = -Wall
DBSLIB=
DBSLIB=-L${INFORMIXDIR}/lib/esql -L${INFORMIXDIR}/lib `esql -libs`
ALL = hds_near... (9 Replies)
Discussion started by: anish
9 Replies
7. Programming
Hi all,
Yeasterday I try to compile c program by using cygwin. I just find an errors the fist one is concerinig about the end of the line.
To summit my Assignment which is the day after tommorow I have to compile my c program by using just gcc.
If any one know what do I have to... (5 Replies)
Discussion started by: Bell
5 Replies
8. AIX
hi, everybody£º
i have a question, pls help me¡£
OS : RS/6000 AIX 4.3.3
cPU : Powerpc,POWER3
compiler : gcc 3.2.3
source file £º 8M
OS kernel : 32 bit (selecting at installing operating system, the hardware support 64 bit)
when i compiling the large source file (8 M), i... (3 Replies)
Discussion started by: q30
3 Replies
9. Programming
Hi all,
I compile my c program and get following result
hrnpfc01.c:1387: stray '\' in program
hrnpfc01.c:1387: parse error before `,'
hrnpfc01.c:1388: stray '\' in program
hrnpfc01.c:1388: parse error before `,'
hrnpfc01.c:1396: stray '\' in program
hrnpfc01.c:1396: parse error before... (4 Replies)
Discussion started by: zico
4 Replies
10. Programming
I need to know how to make a binary with gcc. I know how to create an obj file, but I'm not quite sure what to do about the linking part. I've gotten this far "gcc -c somefile.c somefile.o" then I'm left with an object file, but I don't see any linking command line options. Does anyone know how... (4 Replies)
Discussion started by: lilprogrammer
4 Replies
GCCGO(1) GNU GCCGO(1)
NAME
gccgo - A GCC-based compiler for the Go language
SYNOPSIS
gccgo [-c|-S]
[-g] [-pg] [-Olevel]
[-Idir...] [-Ldir...]
[-o outfile] infile...
Only the most useful options are listed here; see below for the remainder.
DESCRIPTION
The gccgo command is a frontend to gcc and supports many of the same options. This manual only documents the options specific to gccgo.
The gccgo command may be used to compile Go source code into an object file, link a collection of object files together, or do both in
sequence.
Go source code is compiled as packages. A package consists of one or more Go source files. All the files in a single package must be
compiled together, by passing all the files as arguments to gccgo. A single invocation of gccgo may only compile a single package.
One Go package may "import" a different Go package. The imported package must have already been compiled; gccgo will read the import data
directly from the compiled package. When this package is later linked, the compiled form of the package must be included in the link
command.
OPTIONS
-Idir
Specify a directory to use when searching for an import package at compile time.
-Ldir
When linking, specify a library search directory, as with gcc.
-fgo-pkgpath=string
Set the package path to use. This sets the value returned by the PkgPath method of reflect.Type objects. It is also used for the
names of globally visible symbols. The argument to this option should normally be the string that will be used to import this package
after it has been installed; in other words, a pathname within the directories specified by the -I option.
-fgo-prefix=string
An alternative to -fgo-pkgpath. The argument will be combined with the package name from the source file to produce the package path.
If -fgo-pkgpath is used, -fgo-prefix will be ignored.
Go permits a single program to include more than one package with the same name in the "package" clause in the source file, though
obviously the two packages must be imported using different pathnames. In order for this to work with gccgo, either -fgo-pkgpath or
-fgo-prefix must be specified when compiling a package.
Using either -fgo-pkgpath or -fgo-prefix disables the special treatment of the "main" package and permits that package to be imported
like any other.
-fgo-relative-import-path=dir
A relative import is an import that starts with ./ or ../. If this option is used, gccgo will use dir as a prefix for the relative
import when searching for it.
-frequire-return-statement
-fno-require-return-statement
By default gccgo will warn about functions which have one or more return parameters but lack an explicit "return" statement. This
warning may be disabled using -fno-require-return-statement.
-fgo-check-divide-zero
Add explicit checks for division by zero. In Go a division (or modulos) by zero causes a panic. On Unix systems this is detected in
the runtime by catching the "SIGFPE" signal. Some processors, such as PowerPC, do not generate a SIGFPE on division by zero. Some
runtimes do not generate a signal that can be caught. On those systems, this option may be used. Or the checks may be removed via
-fno-go-check-divide-zero. This option is currently on by default, but in the future may be off by default on systems that do not
require it.
-fgo-check-divide-overflow
Add explicit checks for division overflow. For example, division overflow occurs when computing "INT_MIN / -1". In Go this should be
wrapped, to produce "INT_MIN". Some processors, such as x86, generate a trap on division overflow. On those systems, this option may
be used. Or the checks may be removed via -fno-go-check-divide-overflow. This option is currently on by default, but in the future
may be off by default on systems that do not require it.
SEE ALSO
gpl(7), gfdl(7), fsf-funding(7), gcc(1) and the Info entries for gccgo and gcc.
COPYRIGHT
Copyright (c) 2010-2013 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no Invariant Sections, the Front-Cover Texts being (a) (see below), and
with the Back-Cover Texts being (b) (see below). A copy of the license is included in the man page gfdl(7).
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
gcc-4.8.2 2014-01-20 GCCGO(1)