This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils 2.15 do not compile on HPUX 10.20
- From: Martin Stiaszny <stiaszny at MIT dot EDU>
- To: binutils at sources dot redhat dot com
- Cc: Martin Stiaszny <stiaszny at MIT dot EDU>
- Date: Sat, 04 Dec 2004 20:27:12 -0500
- Subject: Re: binutils 2.15 do not compile on HPUX 10.20
> > It appears that the -Ae (use ANSI C) flag is not getting propagated to
> > the HP C compiler, inspite of my best efforts to force it to do so.
>
> How about:
> $ CC="cc -Ae" ./configure ...
yeah, that would have been nice to do it pre-configure, but I eventually
got the binutils to compile by setting c_flags in the Makefile
post-configure. Except the problem is that some of the sources have
non-ansi C in them, so you can't use -Ae on those files, and other
places you have to use -Ae, or HP's cc will freak out. So I would
compile until an error, toggle the -Ae flag manually in the Makefile,
and continue on. Rinse, lather, repeat.
Whoever does the make/autoconf stuff for this package might want to look
into that if HP-UX 10.20 is still of interest.
The gcc package is even more of a mess like that, and has other
problems, too. It gets completely confused about the location of its
header files. (I still haven't gotten gcc to build.)
oh, and why does the gnu linker not support hppa2.0 on 10.20?
thanks,
- martin