[odb-users] Re: Prerequisites

Bruce Cresanta cresanta at me.com
Fri Sep 5 00:40:59 EDT 2014


Boris,

	Retrograded gcc to 4.8.3… Looking good…
Thanks,
Bruce
On Sep 4, 2014, at 1:38 PM, Bruce Cresanta <cresanta at me.com> wrote:

> Hi,
> 
> 	Got gcc 4.9.1 installed and can configure ODB by specifying CXX=/usr/local/gcc491/bin/g++   Getting the following errors on make…
> 
>   
>  make
> Making all in odb
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
> depbase=`echo cxx-lexer.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
> 	/bin/sh ../libtool --tag=CXX   --mode=compile /usr/local/gcc491/bin/g++ -DHAVE_CONFIG_H   -I'..' -I'..' -I/usr/local/gcc491/lib/gcc/x86_64-apple-darwin13.3.0/4.9.1/plugin/include  -g -O2 -MT cxx-lexer.lo -MD -MP -MF $depbase.Tpo -c -o cxx-lexer.lo cxx-lexer.cxx &&\
> 	mv -f $depbase.Tpo $depbase.Plo
> libtool: compile:  /usr/local/gcc491/bin/g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/local/gcc491/lib/gcc/x86_64-apple-darwin13.3.0/4.9.1/plugin/include -g -O2 -MT cxx-lexer.lo -MD -MP -MF .deps/cxx-lexer.Tpo -c cxx-lexer.cxx  -fno-common -DPIC -o .libs/cxx-lexer.o
> In file included from ../odb/gcc-fwd.hxx:10:0,
>                  from ../odb/gcc.hxx:8,
>                  from cxx-lexer.cxx:5:
> /usr/local/gcc491/lib/gcc/x86_64-apple-darwin13.3.0/4.9.1/plugin/include/coretypes.h:46:9: error: 'HOST_WIDEST_INT' does not name a type
>  typedef HOST_WIDEST_INT gcov_type;
>          ^
> /usr/local/gcc491/lib/gcc/x86_64-apple-darwin13.3.0/4.9.1/plugin/include/coretypes.h:47:34: error: expected initializer before 'gcov_type_unsigned'
>  typedef unsigned HOST_WIDEST_INT gcov_type_unsigned;
>                                   ^
> cxx-lexer.cxx: In member function 'virtual cpp_ttype cxx_string_lexer::next(std::string&, tree_node**)':
> cxx-lexer.cxx:266:36: error: 'get_identifier' was not declared in this scope
>        tree id (get_identifier (name));
> 
> Not sure why the errors are happening.   Can you elaborate?
> 
> Thanks,
> 
> Bruce
> 
> 
> 
> 
> 
> On Sep 4, 2014, at 9:34 AM, Bruce Cresanta <cresanta at me.com> wrote:
> 
>> Boris,
>> 
>> 	Just getting to the testing stage of ODB.   Using Mac OSX.   The gcc compiler for my system wasn’t compiled with plugin support.   Having trouble working with a custom compiler.   Wondered if you could tell me the highest gcc distro that will work with ODB?   I need to compile gcc from source.  Tried 4.9.1, but that is bleeding edge.
>> 
>> Thanks,
>> 
>> Bruce
> 



More information about the odb-users mailing list