mingw32-hosted cross compiler
Brendan J Simon
Brendan.Simon@ctam.com.au
Sat Apr 1 00:00:00 GMT 2000
Jyrki O Saarinen wrote:
> Has anyone succeeded in building a mingw32 hosted h8300 targeted C and C++
> compiler?
Are you building on a mingw32 machine or on a Linux machine (ie. doing a Canadian
cross compile) ?
The Canadian cross is more likely to succeed.
> Also, what it takes to modify g++ so that it doesn't try to link
> lstdc++ which isn't obviously available on the H8 systems
> (I/O etc. - well a subset could be possible to be available)
libc++ is now part of GCC. It should compile fine and all features should be
available as far as I know. To get I/O to work is the same as for the C
library. You need to write some stubs for write(), read(), etc.
The linker options "-nostartfiles", "-nodefaultlibs" and "-nostdlib" are
available so that various files are not used automatically. You can also modify
the specs file if you want to.
Regards,
Brendan Simon.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list