Search 5,000,000+ questions and answers.

Frequently Asked Questions

Why can't I get my Fortran programs to compile with PAPI on a Cray T3E?

Frequently Asked Questions
The Fortran header file you include has to be preprocessed before the Fortran file can use it. To have the cpp process the file before sending the file to the compiler, add the -F flag. For example:
Related Questions

Why can't I compile programs that require libtermcap?

The Debian GNU/Linux FAQ - Debian??LFS??Gentoo?????? - Linux...
Debian uses the terminfo database and the ncurses library of terminal interface routes, rather than the termcap database and the termcap library. Users who are compiling programs that require some knowledge of the terminal interface should replace references to libtermcap with references to libncurses. To support binaries that have already been linked with the termcap library, and for which you do not have the source, Debian provides a package called termcap-compat.
Related Questions

How do I compile PAPI with debugging support?

PAPI
To compile with debugging, define CFLAGS to include -DDEBUG in the corresponding Makefile or Rules. file.
Related Questions

Can I use C and Fortran programs with MATLAB?

MATLAB Frequently Asked Questions
MATLAB's MEX-file facility allows user to use C and Fortran subroutines as MATLAB m-files. It is also possible to use MATLAB as a computational engine for C/Fortran subroutines.
Related Questions

Why can't I compile Expect on Cobalt?

Expect FAQ (Frequently Asked Questions)
Check this out: Cobalt Raq2 - Building expect causes Fatal signal 11 in gcc [Kernel 2.0.34 MIPS , Redhat/Cobalt Release 4.0] Seems libieee.a is built oddly and gcc doesn't like it, neither expect nor tcl seem to actully need it, removing -lieee from the makefile allows it to compile, no undefined references, expect passes make test... (Maybe the needed functions are really in libm?) ps: tcl 8.2.1 needs the same fix to compile
Related Questions

Can Debian be used to compile libc5 programs?

The Debian GNU/Linux FAQ - Debian??LFS??Gentoo?????? - Linux...
Yes. Install libc5-altdev and altgcc packages (from the oldlibs section). You can find the appropriate libc5-compiled gcc and g++ in directory /usr/i486-linuxlibc1/bin. Put them in your $PATH variable to get make and other programs to execute these first.
Related Questions

How Do I Compile Programs?

Porting, Compiling and Obtaining Programs
Most Linux software is written in C and compiled with the GNU C compiler. GCC is a part of every Linux distribution. The latest compiler version, documentation, and patches are on ftp://ftp.gnu.org/pub/gnu/. Programs that are written in C++ must be compiled with the GNU G++ compiler, which is also included in Linux distributions and available from the same place as GCC. To build version 2.0.x kernels, you will need GCC version 2.7.2.x, approximately.
Related Questions

Java FAQ
Simply open an MS DOS Window, change to the directory where your files are stored, and type: javac MyProgram.java Note, this assumes that javac is in your system path. See the question on accessing Java from the command line above for how to set this.
Related Questions

Software Development
Most Linux software is written in C and compiled with the GNU C compiler. GCC is a part of every Linux distribution. The latest compiler version, documentation, and patches are on ftp://ftp.gnu.org/pub/gnu/. Programs that are written in C++ must be compiled with the GNU G++ compiler, which is also included in Linux distributions and available from the same place as GCC. To build version 2.0.x kernels, you will need GCC version 2.7.2.x, approximately.
Related Questions

COBOL FAQ
It is assumed you have installed cobol650.zip in the directory C:\COBOL650. In install.doc you will find some information on running the compiler. The install.doc contained in cobol650.zip refers to a program DPATH.COM to be run instead of APPEND. The DOS program APPEND seems to work too. When trying to compile sources in a directory other than that where the compiler is installed, the compiler terminates without an error. This restriction is not documented in install.
Related Questions

How do I use f90SQL with my Fortran programs?

f90SQL - FAQs
Add the f90SQL modules to your Fortran source. You do this by adding the following statement at the beginning of your program:
Related Questions

I notice you provide pre-compiled programs, does this mean I can't compile one of my own ?

Welcome to Geekshells.org
You can compile anything you like, though on your own compiled programs will be delivered no support. When you want a library to be installed and it is in the FreeBSD package tree I suggest you request that one, instead installing one of your own, still my suggestions won't limit you on doing so.
Related Questions

I installed LessTif but I can't compile apps with it. What's wrong ?

LessTif Frequently Asked Questions
You may have an application that's not error-free; or (more likely) one which needs configuration for your site, computer platform, etc. If it's not a bug within the application it probably has to do with your compiler options. If it's indeed that, there are several possibilities. In the examples we'll give now, we'll be using some installation directories that may differ from your installation.
Related Questions

Why can't I compile Expect with Tcl 8.2?

Expect FAQ (Frequently Asked Questions)
Tcl 8.2 requires Expect 5.31. Either upgrade to Expect 5.31 or go back to Tcl 8.0. (I recommend upgrading.)
Related Questions

Why can't I compile Dia?

Dia FAQ
In most cases, it is because you have an old version of a support library. The libraries needed to compile Dia version 0.91+ are: Pango version 1.1.5 or higher. Must be compiled with the PangoFT2 module. Pango 1.1.5 and higher depend on GLib version 2.1.3 or higher. PangoFT2 depends on font-config version 1.0.1 or higher. libunicode version 0.4 (not the version 0.7 available at SourceForge). Optional libraries that add extra features (for 0.
Related Questions

Why when I compile PAPI 3.0, do I get Dl_info undefined in irix-mips.c?

PAPI
You have an older run-time system than what PAPI was developed on. The fix is to change the definition to 'struct Dl_info'.
Related Questions

How do I stop PAPI_overflow, PAPI_profile or PAPI_sprofil?

Frequently Asked Questions
You must call the above with the handler or buffer to NULL and the threshold to 0 after having called PAPI_stop.
Related Questions

Why can't I compile Expect with Tcl/Tk 8.XaX or 8.XbX?

Expect FAQ (Frequently Asked Questions)
I've rarely found the time to port Expect to alphas and betas. I recommend you stick with a production release unless you're willing to do some work.
Related Questions

Is there is a tool to compile programs on a PC?

FAQs numbers 70 to 79
Answer: See question #69 for information on sRPL if you mean assembly code. However if you mean a tool for use with the built in HP-Basic language then although you may use the PC to write them (text editing) you don't actually compile them on the PC - you download them to the calculator and let it compile them. If you want to compose them on the PC then you have to use the ADK (Aplet Development Kit).
Related Questions

How do I compile programs that use GStreamer ?

Developing applications with GStreamer
GStreamer uses pkg-config to assist applications with compilationa and linking flags. pkg-config is already used by GTK+, GNOME, SDL, and others; so if you are familiar with using it for any of those, you're set. If you're not familiar with pkg-config to compile and link a small one-file program, pass the --cflags and --libs arguments to pkg-config. For example: $ libtool --mode=link gcc 'pkg-config --cflags --libs gstreamer-0.10' -o myprog myprog.
Related Questions

How do I compile programs with uClibc?

uClibc
You will need to have your own uClibc toolchain. A toolchain consists of GNU binutils, the gcc compiler, and uClibc, all built to produce binaries for your target system linked with uClibc. You can build your own native uClibc toolchain using the uClibc buildroot system. run 'unset CC'. Then run 'unset CXX'. Some Linux systems (i.e. Gentoo) set variables such as 'CC' in the system environment which really messes things up when cross compiling. Select the things you want to build.
Related Questions

Why does PAPI_overflow, PAPI_profil and PAPI_sprofil work strangely with a small threshold?

Frequently Asked Questions
On most systems, overflow must be emulated in software by PAPI. Only on the UltraSparc III and IRIX does the operating system support true interrupt on overflow. Therefore the user is advised on most platforms to make sure the overflow value is no more than 1/1000th the clock rate. The emulation handler in PAPI runs every millisecond, therefore the goal of the tool designer should be to pick an value that will overflow frequently but not too frequently.
Related Questions

What tools are available for PAPI?

Frequently Asked Questions
See the latest Reference page at http://icl.cs.utk.edu/projects/documents/. If you have a tool to be posted, send it to the mailing list.
Related Questions

How does PAPI handle threads?

Frequently Asked Questions
Currently, PAPI only supports thread level measurements with kernel or bound threads. Each thread must manipulate and read its own counters. When a thread is created, it inherits no PAPI information from the calling thread. Support for this kind of functionality is being implemented.
Related Questions

What events does PAPI track?

Frequently Asked Questions
PAPI only tracks 'hardware events', the occurrence of signals onboard the microprocessor. It does not count system calls, software interrupts or other software events. The user should remember that by default, PAPI only measures events that occur in User Space.
Related Questions

I give up: I can't compile this! Can you send me a precompiled version?

Allegro - Documentation - Frequently asked questions
No, sorry. For starters, liballeg.a is about 450k, but you'd probably also want various utilities like the grabber, sound setup, etc. And what about all the example programs? If we included compiled versions of everything, a binary distribution would be over 7 megs: way too big to be practical! More seriously though, there just isn't any reason why you can't build it yourself.
Related Questions

WHy can't I build PAPI with the Intel icc compiler?

PAPI
The problem is not in PAPI, but in libpfm 3.x. When this library is built using icc, the file pfmlib_gen_ia64.c generates a series of errors. One workaround for this may be to make the libpfm library separately using gcc and then build PAPI with icc. Or just use gcc. PAPI requires your Linux kernel to be patched with the PerfCtr patch. For compatability reasons, we have included this patch here. You should patch your kernel using the PerfCtr distribution found in the papi/src/perfctr directory.
Related Questions

Question: How do I integrate Dataplot with my own Fortran/C programs?

Frequently Asked Questions
You have a Fortran program and you would like to perform some Dataplot analysis for the output of that program. Often, this just means you would like to use Dataplot to graph the data. In other cases, you would acutally like to perform some numeric analysis as well. On the other hand, you might want to have Dataplot call your Fortran/C program to perform some analysis that is not available in Dataplot. We will discuss these separately.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact