Contributing to autoconf, automake, etc...

2006-07-10 Thread Ben Bergen
Hi, I am working at the Los Alamos National Laboratory on a project involving the IBM Cell processor. Building for the cell requires several compilation steps with different compilers. I would like to add to the languages supported by autotools so that there is a simple way to define and build

Re: Contributing to autoconf, automake, etc...

2006-07-10 Thread Ben Bergen
Paul, the cell does use C and C++ compilers. However, programs for the different "sub-processors", i.e., the PPE and the SPEs (the PPE is the single PowerPC processor, and the SPEs are the 8 synergistic processing elements), must be compiled using separate compilers. Additionally, the SPE progra

Re: Contributing to autoconf, automake, etc...

2006-07-10 Thread Ben Bergen
Paul, I hope that it is OK to attach a file. Here is an example of how I am compiling a program for the cell. Disclaimer: I realize that my make rules (in rules.mk) are probably a little whacky... -- Benjamin Karl Bergen CCS-2 Continuum Dynamics Los Alamos National Laboratory Makefile

Re: Contributing to autoconf, automake, etc...

2006-07-10 Thread Ben Bergen
Here is a link to the development tools for the cell: http://www.bsc.es/projects/deepcomputing/linuxoncell/cbexdev.html?S_TACT=105AGX16&S_CMP=DWPA Overview of the processor: http://www-128.ibm.com/developerworks/power/library/pa-cellperf General link to simulator and other tools: http://domino.r

ac_link variable...

2006-07-13 Thread Ben Bergen
Is there a way to force "$ac_link" to use a "-c" before the source file when doing AC_CHECK_LIB? The cell compiler doesn't like: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' but it works with: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LD

CPPFLAGS...

2006-08-11 Thread Ben Bergen
If this is the wrong forum for this question, please let me know where to send it. I am working on a project that mixes C and C++. The problem that I have is that there is only one CPPFLAGS for both compilers. Why is this the case? It would be nice if automake/autoconf provided a CXXPPFLAGS va

defining configure options...

2006-09-27 Thread Ben Bergen
Does anyone know if it's possbile to define a configure option like --cell-prefix="..." instead of --with or --enable? -- Benjamin Karl Bergen CCS-2 Continuum Dynamics Los Alamos National Laboratory ___ Autoconf mailing list Autoconf@gnu.org htt

config.sub...

2006-12-12 Thread Ben Bergen
Hi, I am trying to cross compile a program for the IBM cell processor. My configure script for the PPE part of the compile calls the SPE configure script using AC_CONFIG_SUBDIRS. In the past this has worked fine because I did not use libtool with either project and so config.sub was never calle

VPATH build...

2007-04-03 Thread Ben Bergen
Hi, does anyone know of a variable that is defined during the ./configure run that tells where the top level source directory is. I have tried $top_srcdir, but this is doesn't seem to be defined until the very end. I can't use the current directory because I am trying to support out-of-path bui

Re: VPATH build...

2007-04-03 Thread Ben Bergen
Thanks. On 4/3/07, Bob Rossi <[EMAIL PROTECTED]> wrote: On Tue, Apr 03, 2007 at 04:00:20PM -0600, Ben Bergen wrote: > does anyone know of a variable that is defined during the ./configure > run that tells where the top level source directory is. I have tried > $top_srcdir, but