<string> still not working

Paul F. Johnson p.f.johnson at salford.ac.uk
Thu Dec 13 05:07:12 PST 2001


Hiya,

After Nick fixed the problem with bastring.cc, I downloaded from cvs the
updates last night and rebuilt gcc.

I have just tested a small source file with was giving me problems when
using

#include <string>

and obtained the following results.


*g++ cc.classes -O2 -c -v Using builtin specs. gcc version 2.95.4 20010319
(prerelease) [gccsdk 20010912]

gccpkg:bin/arm-riscos-aof/2_95_4/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 
-D__GNUC_MINOR__=95 -D__cplusplus -Darm -Driscos -D__arm__ -D__riscos__ -D__
arm -D__riscos -Asystem(riscos) -Acpu(arm) -Amachine(acorn) -D__EXCEPTIONS -
D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -D__ARM_ARCH_2__ -D__APCS_26__ -D__JMP_BUF
_SIZE=24 -icrossdirafter /unixlib classes.cc /tmp/ccKrP2hb.ii
gccpkg:bin.arm-riscos-aof.2_95_4.cpp: GNU CPP version 2.95.4 20010319
(prerelease) [gccsdk 20010912] (ARM/RISC OS with AOF)
gccpkg:bin.arm-riscos-aof.2_95_4.cpp: ignoring nonexistent directory
`gccpkg:local/include'
gccpkg:bin.arm-riscos-aof.2_95_4.cpp: ignoring nonexistent directory
`gccpkg:sys/include'
#include "..." search starts here:
#include <...> search starts here:
 gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3
 gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include
 gccpkg:include/unixlib
End of search list.
gccpkg:bin.arm-riscos-aof.2_95_4.cpp: In file included from
gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3/std/bastring.h:39,
                 from
gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3/string:6,
                 from classes.cc:5:
gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3/stl/alloc.h:18:
stl_config.h: No such file or directory
gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3/stl/alloc.h:21:
stl_alloc.h: No such file or directory
gccpkg:bin.arm-riscos-aof.2_95_4.cpp: In file included from
gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3/std/bastring.h:45,
                 from
gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3/string:6,
                 from classes.cc:5:
gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3/stl/iterator:30:
stl_config.h: No such file or directory
gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3/stl/iterator:31:
stl_relops.h: No such file or directory
gccpkg:lib/gcc-lib/arm-riscos-aof/2_95_4/include/g++-3/stl/iterator:38:
stl_iterator.h: No such file or directory.

I have made a small change to bastring.h so that it uses stl/iterator and
stl/alloc.h as neither exist in the directories pointed at by the source
file. Previous to this change, I would get that iterator and alloc could not
be found.

TTFN

Paul

Paul F. Johnson
School of Sciences, Chemistry
University of Salford
0161 295 4015





More information about the gcc mailing list