Mail Archives: djgpp-workers/2000/06/26/09:22:50
On 26 Jun 2000, at 15:54, Eli Zaretskii wrote:
> For the recent round of GCC-maintainers-vs-the-rest-of-the-world series,
> read the thread "Re: gcc compiles assert() to code that requires linking
> with gcc" on bug-gcc AT gnu DOT org.
>
> For those who don't know: Martin Buchholz, whose message started that
> thread, is a maintainer of XEmacs, and one of the nicest people I've
> ever met.
Here is example of this problem with gcc-2.95.2
When I'm building gcc-2.95.2 as native compiler for DJGPP under
Linux libgcc.a is built using cross-compiler and as result _eprintf
is left out (--inhibit-libc forced when cross-compiling). No clean way
how to override this is provided (except than editting gcc/libgcc2.c).
g77 uses assert with _eprintf and as result one have to modify
manually libgcc2.c to build G77 using cross-compiler. All cases when
host!=build suffers from that
Andris
- Raw text -