GCC with OpenMP stream-computing extension and BatchQueue algorithm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
apop 5c1fb0cf09 Creating a development branch for OpenMP stream extensions. 9 years ago
..
config Creating a development branch for OpenMP stream extensions. 9 years ago
testsuite Creating a development branch for OpenMP stream extensions. 9 years ago
COPYING.LIB Creating a development branch for OpenMP stream extensions. 9 years ago
ChangeLog Creating a development branch for OpenMP stream extensions. 9 years ago
Makefile.in Creating a development branch for OpenMP stream extensions. 9 years ago
README Creating a development branch for OpenMP stream extensions. 9 years ago
_doprnt.c Creating a development branch for OpenMP stream extensions. 9 years ago
aclocal.m4 Creating a development branch for OpenMP stream extensions. 9 years ago
alloca.c Creating a development branch for OpenMP stream extensions. 9 years ago
argv.c Creating a development branch for OpenMP stream extensions. 9 years ago
asprintf.c Creating a development branch for OpenMP stream extensions. 9 years ago
at-file.texi Creating a development branch for OpenMP stream extensions. 9 years ago
atexit.c Creating a development branch for OpenMP stream extensions. 9 years ago
basename.c Creating a development branch for OpenMP stream extensions. 9 years ago
bcmp.c Creating a development branch for OpenMP stream extensions. 9 years ago
bcopy.c Creating a development branch for OpenMP stream extensions. 9 years ago
bsearch.c Creating a development branch for OpenMP stream extensions. 9 years ago
bzero.c Creating a development branch for OpenMP stream extensions. 9 years ago
calloc.c Creating a development branch for OpenMP stream extensions. 9 years ago
choose-temp.c Creating a development branch for OpenMP stream extensions. 9 years ago
clock.c Creating a development branch for OpenMP stream extensions. 9 years ago
concat.c Creating a development branch for OpenMP stream extensions. 9 years ago
config.h-vms Creating a development branch for OpenMP stream extensions. 9 years ago
config.in Creating a development branch for OpenMP stream extensions. 9 years ago
configure Creating a development branch for OpenMP stream extensions. 9 years ago
configure.ac Creating a development branch for OpenMP stream extensions. 9 years ago
configure.com Creating a development branch for OpenMP stream extensions. 9 years ago
copying-lib.texi Creating a development branch for OpenMP stream extensions. 9 years ago
copysign.c Creating a development branch for OpenMP stream extensions. 9 years ago
cp-demangle.c Creating a development branch for OpenMP stream extensions. 9 years ago
cp-demangle.h Creating a development branch for OpenMP stream extensions. 9 years ago
cp-demint.c Creating a development branch for OpenMP stream extensions. 9 years ago
cplus-dem.c Creating a development branch for OpenMP stream extensions. 9 years ago
crc32.c Creating a development branch for OpenMP stream extensions. 9 years ago
dyn-string.c Creating a development branch for OpenMP stream extensions. 9 years ago
fdmatch.c Creating a development branch for OpenMP stream extensions. 9 years ago
ffs.c Creating a development branch for OpenMP stream extensions. 9 years ago
fibheap.c Creating a development branch for OpenMP stream extensions. 9 years ago
filename_cmp.c Creating a development branch for OpenMP stream extensions. 9 years ago
floatformat.c Creating a development branch for OpenMP stream extensions. 9 years ago
fnmatch.c Creating a development branch for OpenMP stream extensions. 9 years ago
fnmatch.txh Creating a development branch for OpenMP stream extensions. 9 years ago
fopen_unlocked.c Creating a development branch for OpenMP stream extensions. 9 years ago
functions.texi Creating a development branch for OpenMP stream extensions. 9 years ago
gather-docs Creating a development branch for OpenMP stream extensions. 9 years ago
getcwd.c Creating a development branch for OpenMP stream extensions. 9 years ago
getopt.c Creating a development branch for OpenMP stream extensions. 9 years ago
getopt1.c Creating a development branch for OpenMP stream extensions. 9 years ago
getpagesize.c Creating a development branch for OpenMP stream extensions. 9 years ago
getpwd.c Creating a development branch for OpenMP stream extensions. 9 years ago
getruntime.c Creating a development branch for OpenMP stream extensions. 9 years ago
gettimeofday.c Creating a development branch for OpenMP stream extensions. 9 years ago
hashtab.c Creating a development branch for OpenMP stream extensions. 9 years ago
hex.c Creating a development branch for OpenMP stream extensions. 9 years ago
index.c Creating a development branch for OpenMP stream extensions. 9 years ago
insque.c Creating a development branch for OpenMP stream extensions. 9 years ago
lbasename.c Creating a development branch for OpenMP stream extensions. 9 years ago
libiberty.texi Creating a development branch for OpenMP stream extensions. 9 years ago
lrealpath.c Creating a development branch for OpenMP stream extensions. 9 years ago
maint-tool Creating a development branch for OpenMP stream extensions. 9 years ago
make-relative-prefix.c Creating a development branch for OpenMP stream extensions. 9 years ago
make-temp-file.c Creating a development branch for OpenMP stream extensions. 9 years ago
makefile.vms Creating a development branch for OpenMP stream extensions. 9 years ago
md5.c Creating a development branch for OpenMP stream extensions. 9 years ago
memchr.c Creating a development branch for OpenMP stream extensions. 9 years ago
memcmp.c Creating a development branch for OpenMP stream extensions. 9 years ago
memcpy.c Creating a development branch for OpenMP stream extensions. 9 years ago
memmem.c Creating a development branch for OpenMP stream extensions. 9 years ago
memmove.c Creating a development branch for OpenMP stream extensions. 9 years ago
mempcpy.c Creating a development branch for OpenMP stream extensions. 9 years ago
memset.c Creating a development branch for OpenMP stream extensions. 9 years ago
mkstemps.c Creating a development branch for OpenMP stream extensions. 9 years ago
msdos.c Creating a development branch for OpenMP stream extensions. 9 years ago
objalloc.c Creating a development branch for OpenMP stream extensions. 9 years ago
obstack.c Creating a development branch for OpenMP stream extensions. 9 years ago
obstacks.texi Creating a development branch for OpenMP stream extensions. 9 years ago
partition.c Creating a development branch for OpenMP stream extensions. 9 years ago
pex-common.c Creating a development branch for OpenMP stream extensions. 9 years ago
pex-common.h Creating a development branch for OpenMP stream extensions. 9 years ago
pex-djgpp.c Creating a development branch for OpenMP stream extensions. 9 years ago
pex-msdos.c Creating a development branch for OpenMP stream extensions. 9 years ago
pex-one.c Creating a development branch for OpenMP stream extensions. 9 years ago
pex-unix.c Creating a development branch for OpenMP stream extensions. 9 years ago
pex-win32.c Creating a development branch for OpenMP stream extensions. 9 years ago
pexecute.c Creating a development branch for OpenMP stream extensions. 9 years ago
pexecute.txh Creating a development branch for OpenMP stream extensions. 9 years ago
physmem.c Creating a development branch for OpenMP stream extensions. 9 years ago
putenv.c Creating a development branch for OpenMP stream extensions. 9 years ago
random.c Creating a development branch for OpenMP stream extensions. 9 years ago
regex.c Creating a development branch for OpenMP stream extensions. 9 years ago
rename.c Creating a development branch for OpenMP stream extensions. 9 years ago
rindex.c Creating a development branch for OpenMP stream extensions. 9 years ago
safe-ctype.c Creating a development branch for OpenMP stream extensions. 9 years ago
setenv.c Creating a development branch for OpenMP stream extensions. 9 years ago
sha1.c Creating a development branch for OpenMP stream extensions. 9 years ago
sigsetmask.c Creating a development branch for OpenMP stream extensions. 9 years ago
snprintf.c Creating a development branch for OpenMP stream extensions. 9 years ago
sort.c Creating a development branch for OpenMP stream extensions. 9 years ago
spaces.c Creating a development branch for OpenMP stream extensions. 9 years ago
splay-tree.c Creating a development branch for OpenMP stream extensions. 9 years ago
stpcpy.c Creating a development branch for OpenMP stream extensions. 9 years ago
stpncpy.c Creating a development branch for OpenMP stream extensions. 9 years ago
strcasecmp.c Creating a development branch for OpenMP stream extensions. 9 years ago
strchr.c Creating a development branch for OpenMP stream extensions. 9 years ago
strdup.c Creating a development branch for OpenMP stream extensions. 9 years ago
strerror.c Creating a development branch for OpenMP stream extensions. 9 years ago
strncasecmp.c Creating a development branch for OpenMP stream extensions. 9 years ago
strncmp.c Creating a development branch for OpenMP stream extensions. 9 years ago
strndup.c Creating a development branch for OpenMP stream extensions. 9 years ago
strrchr.c Creating a development branch for OpenMP stream extensions. 9 years ago
strsignal.c Creating a development branch for OpenMP stream extensions. 9 years ago
strstr.c Creating a development branch for OpenMP stream extensions. 9 years ago
strtod.c Creating a development branch for OpenMP stream extensions. 9 years ago
strtol.c Creating a development branch for OpenMP stream extensions. 9 years ago
strtoul.c Creating a development branch for OpenMP stream extensions. 9 years ago
strverscmp.c Creating a development branch for OpenMP stream extensions. 9 years ago
tmpnam.c Creating a development branch for OpenMP stream extensions. 9 years ago
unlink-if-ordinary.c Creating a development branch for OpenMP stream extensions. 9 years ago
vasprintf.c Creating a development branch for OpenMP stream extensions. 9 years ago
vfork.c Creating a development branch for OpenMP stream extensions. 9 years ago
vfprintf.c Creating a development branch for OpenMP stream extensions. 9 years ago
vprintf.c Creating a development branch for OpenMP stream extensions. 9 years ago
vsnprintf.c Creating a development branch for OpenMP stream extensions. 9 years ago
vsprintf.c Creating a development branch for OpenMP stream extensions. 9 years ago
waitpid.c Creating a development branch for OpenMP stream extensions. 9 years ago
xatexit.c Creating a development branch for OpenMP stream extensions. 9 years ago
xexit.c Creating a development branch for OpenMP stream extensions. 9 years ago
xmalloc.c Creating a development branch for OpenMP stream extensions. 9 years ago
xmemdup.c Creating a development branch for OpenMP stream extensions. 9 years ago
xstrdup.c Creating a development branch for OpenMP stream extensions. 9 years ago
xstrerror.c Creating a development branch for OpenMP stream extensions. 9 years ago
xstrndup.c Creating a development branch for OpenMP stream extensions. 9 years ago

README

This directory contains the -liberty library of free software.
It is a collection of subroutines used by various GNU programs.
Current members include:

getopt -- get options from command line
obstack -- stacks of arbitrarily-sized objects
strerror -- error message strings corresponding to errno
strtol -- string-to-long conversion
strtoul -- string-to-unsigned-long conversion

We expect many of the GNU subroutines that are floating around to
eventually arrive here.

The library must be configured from the top source directory. Don't
try to run configure in this directory. Follow the configuration
instructions in ../README.

Please report bugs to "gcc-bugs@gcc.gnu.org" and send fixes to
"gcc-patches@gcc.gnu.org". Thank you.

ADDING A NEW FILE
=================

There are two sets of files: Those that are "required" will be
included in the library for all configurations, while those
that are "optional" will be included in the library only if "needed."

To add a new required file, edit Makefile.in to add the source file
name to CFILES and the object file to REQUIRED_OFILES.

To add a new optional file, it must provide a single function, and the
name of the function must be the same as the name of the file.

* Add the source file name to CFILES in Makefile.in and the object
file to CONFIGURED_OFILES.

* Add the function to name to the funcs shell variable in
configure.ac.

* Add the function to the AC_CHECK_FUNCS lists just after the
setting of the funcs shell variable. These AC_CHECK_FUNCS calls
are never executed; they are there to make autoheader work
better.

* Consider the special cases of building libiberty; as of this
writing, the special cases are newlib and VxWorks. If a
particular special case provides the function, you do not need
to do anything. If it does not provide the function, add the
object file to LIBOBJS, and add the function name to the case
controlling whether to define HAVE_func.

Finally, in the build directory of libiberty, configure with
"--enable-maintainer-mode", run "make maint-deps" to update
Makefile.in, and run 'make stamp-functions' to regenerate
functions.texi.

The optional file you've added (e.g. getcwd.c) should compile and work
on all hosts where it is needed. It does not have to work or even
compile on hosts where it is not needed.

ADDING A NEW CONFIGURATION
==========================

On most hosts you should be able to use the scheme for automatically
figuring out which files are needed. In that case, you probably
don't need a special Makefile stub for that configuration.

If the fully automatic scheme doesn't work, you may be able to get
by with defining EXTRA_OFILES in your Makefile stub. This is
a list of object file names that should be treated as required
for this configuration - they will be included in libiberty.a,
regardless of whatever might be in the C library.