Reorg for including libiberty.h, [part 1/4]

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Wed Nov 25 12:10:00 GMT 1998


 > From: Jeffrey A Law <law@hurl.cygnus.com>
 > 
 >   In message < 199811251831.NAA03403@caip.rutgers.edu >you write:
 >   > 1.  In general, I prefer to do things in an incremental fashion, let
 >   > the dust settle before continuing.  So at this point I just want to
 >   > make it safe to include libiberty.h.
 > 
 > Given the nature of these changes I think you're making a lot of
 > unnecessary work for yourself.  But if you prefer to do it this
 > way, feel free.


	Thanks, your willingness to be flexible is appreciated. :-)
Since I already did the work, I'd prefer to just check it in, which
given your assent above, I'm planning to do sometime over the
holidays.

Note in case you're wondering what's the plan, I'm implementing the
steps I outlined in: http://www.cygnus.com/ml/egcs/1998-Sep/1114.html .
I've already gotten steps 1-4 and this latest patch gets us part of
step 5 done.




 >   > 2.  Removing the duplicate functions right now would completely kill
 >   > Irix6 bootstraps when using cc for stage1.
 > 
 > I've already stated that I think the solution to this problem is to force
 > whatever flags we need to make the stage1 & stage2 compilers generate
 > compatible code.
 > jeff



	I know, but the canonical way to do this appears to be to set
"CC = CC -foo-option" in egcs/config/mh-*.  However the problem right
now is that egcs ignores the CC option from any config/mh-* file.

	E.g., mh-irix6 has a CC line which is ignored.  (BTW, Its not
set to something that helps this, so that's moot anyway.  But it does
pose a fundamental problem.)

	We had a similar problem on hpux9, where egcs/config/mh-hpux8
is supposed to set "CC = cc -Wp,-H256000", but it never takes effect.

(For a refresher on that problem, see the discussion starting with:
http://www.cygnus.com/ml/egcs-bugs/1998-Jun/0060.html )

	IMHO, this is a whole separate issue and I'd like to treat them
as such and not have to solve the CC one in order to make progress on
the libiberty conversion. 

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Icon CMT Corp.



More information about the Gcc-patches mailing list