This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

[1.0.1] Irix 6 MULTILIB_OPTIONS


In gcc/config/mips/t-iris6, MULTILIB_OPTIONS is set to:

  mabi=n32/mabi=64

Since -mabi=n32 implies -mips3 and -mabi=64 implies -mips4, this results
in two libraries being built:

  - an n32/MIPS 3 library
  - a  64/MIPS 4 library

However, people like me with MIPS 3 (R4400 and R4600) machines would
really like a 64/MIPS 3 library.  (The missing n32/MIPS 4 library isn't
so serious, but somebody out there would probably like it.)

The solution that seems obvious to me is to change MULTILIB_OPTIONS to

  mabi=n32 mips3/mabi=n32 mips4/mabi=64 mips3/mabi=64 mips4

However, I have to confess some ignorance of the operation of multilib.
Will this Do The Right Thing when only one of the two flags is given
(e.g., -mips3, which implies -mabi=n32; or -mabi=64, which implies
-mips4)?
-- 
Jerry James
Email: jerry@cs.ucsb.edu
WWW:   http://www.cs.ucsb.edu/~jerry/


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