This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++ on H8/300?


law@redhat.com wrote:

>   In message <20010509111513.A6497@saturn.open-widgets.com>you write:
>   > Guys:
>   >
>   >
>   > Why isn't libstdc++ supported on the h8/300?
> Because nobody has ever done the work to make sure it is supported.
>
> Probably the biggest problem is that libstdc++ is too big to fit
> into the limited address space available on the H8/300.  It would
> probably work on the H8/300H or H8/S.

 Building it isn't a problem, just editing the 'libstdc++' etc. away from the
'noconfigdirs' for the 'h8300-*' target in the main 'configure.in'.  Then
it will be built for all the multilib-variations.

 The 100+ k executables are too big for H8/300, but the H8/300H and
H8S C++ programs, the almost "Hello World"-level ones I tried with
the simulator in GDB, seemed to work.... Ok, the newlib-routines have
a dummy 'read()' for H8, so no input to the programs worked....

 So my advice is to build the libstdc++.a's and to try them....  BTW, the
official prebuilt Hitachi-distribution, 'gcc-2.96-000821' or something
does include the 'libstdc++.a's, so the people in the GNU-H8 maillist
may have some experience already....

Cheers, Kai






------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]