[tlbuild] Testing cxx-runtime-hack -- V 1.1

Thomas A. Schmitz thomas.schmitz at uni-bonn.de
Fri Jan 23 21:41:54 CET 2009


Doesn't compile on linux-ppc. Maybe I'm doing something wrong, but I  
found the README both unncessarily convoluted and lacking essential  
information. Here's what  I get:

% make
Making all in am-lt
make[1]: Entering directory `/tmp/BLD/am-lt'
make  all-am
make[2]: Entering directory `/tmp/BLD/am-lt'
g++ -DHAVE_CONFIG_H -I. -I../../cxx-test-1.1/am-lt    -Wno-deprecated - 
g -O2 -MT cxx-test.o -MD -MP -MF .deps/cxx-test.Tpo -c -o cxx- 
test.o ../../cxx-test-1.1/am-lt/cxx-test.cpp
../../cxx-test-1.1/am-lt/cxx-test.cpp:4:22: error: iostream.h: No such  
file or directory
../../cxx-test-1.1/am-lt/cxx-test.cpp: In function ‘int main()’:
../../cxx-test-1.1/am-lt/cxx-test.cpp:8: error: ‘cout’ was not  
declared in this scope
make[2]: *** [cxx-test.o] Error 1
make[2]: Leaving directory `/tmp/BLD/am-lt'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/BLD/am-lt'
make: *** [all-recursive] Error 1

iostram.h is, according to this page http://www.gnu.org/software/gcc/gcc-4.3/porting_to.html 
  , a deprecated header; it is referred to, among other places, in am- 
lt/configure

Thomas

On Jan 22, 2009, at 5:08 PM, Peter Breitenlohner wrote:

> On Mon, 19 Jan 2009, Karl Berry wrote:
>
>>   Can you please forward the tarball to everyone doing a binary build
>>   for such systems and ask them to test this new cxx-runtime-hack
>>   mechanism (ASAP).
>>
>> I mailed tlbuild at tug.org with it.
>
> Dear TL builders,
>
> a few days ago Karl Berry forwarded to you a small package cxx- 
> test-1.0.
>
> The purpose was, to test a new mechanism to link C++ programs with a  
> static
> libstdc++ in such a way that one can still use libtool.
>
> It is important to test this new mechanism as soon as possible on all
> different types of build systems, in order to avoid problems later  
> on near
> the TL 2009 release date.
>
> Unfortunately, that first version had problems when using additional
> (uninstalled or system) libraries.
>
> There is now a new version 1.1 available from
> 	ftp://ftpth.mppmu.mpg.de/pub/peb/TLtests/cxx-test-1.1.tar.bz2
> 	ftp://ftpth.mppmu.mpg.de/pub/peb/TLtests/cxx-test-1.1.tar.gz
>
> I have tested this for
>
> 	arch		compiler	cxx-test-1.1 result
>
> 	i386-linux	gcc-3.4.6	static and shared OK
> 	x86_64-linux	gcc-3.4.6	static and shared OK
>
> and would appreciate to obtain feedback (on this list) for as many  
> different
> build systems as possible, most important for those that will be  
> used for
> the TL binary build.  There is a README with detailed instructions.
>
> Regards
> Peter Breitenlohner <peb at mppmu.mpg.de>



More information about the tlbuild mailing list