Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Masami Komiya <mkomiya@crossnet.co.jp>
To: linux@cthulhu.engr.sgi.com
Subject: glibc cross-compile error
Date: Tue, 20 Jul 1999 21:06:00 +0900	[thread overview]
Message-ID: <37946628.F2D5BA61@crossnet.co.jp> (raw)

I could not cross-compile glibc using Linux/MIPS-2.2.10 sources
because of asm-mips/timex.h.
My workarround is 

*** timex.h.org	Fri Jun 11 11:18:29 1999
--- timex.h	Tue Jul 20 20:34:59 1999
***************
*** 31,36 ****
--- 31,40 ----
  typedef unsigned int cycles_t;
  extern cycles_t cacheflush_time;
  
+ #ifndef __ASM_MIPS_MIPSREGS_H
+ #include <asm/mipsregs.h>
+ #endif
+ 
  static inline cycles_t get_cycles (void)
  {
  	return read_32bit_cp0_register(CP0_COUNT);

I afraid this workarround will be the cause of the another.
Does anyone has the better solution ?

Masami Komiya

             reply	other threads:[~1999-07-20 12:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-20 12:06 Masami Komiya [this message]
1999-07-23  0:04 ` glibc cross-compile error Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37946628.F2D5BA61@crossnet.co.jp \
    --to=mkomiya@crossnet.co.jp \
    --cc=linux@cthulhu.engr.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox