Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@cup.hp.com>
To: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] cross compiling glibc
Date: Fri, 14 Apr 2000 15:32:21 -0700	[thread overview]
Message-ID: <200004142232.PAA20329@milano.cup.hp.com> (raw)
In-Reply-To: Your message of "Fri, 14 Apr 2000 10:18:30 PDT." <Pine.LNX.4.21.0004141013240.5167-100000@sammyville.sammy.net>

Sam Creasey wrote:
> Hopefully this procedure will work for you:
> 
> 
> (checkout glibc)
> cd glibc
> mkdir hppa1.1-linux
> cd hppa1.1-linux
> 
> ../configure --disable-shared --disable-profile --enable-static-nss
> --build=i686-linux --host=hppa1.1-linux --disable-sanity-checks

So far so good. But since I wanted to build under HP-UX I had to change
a few things on the configure line:

../configure --disable-shared --disable-profile --enable-static-nss \
    --build=hppa1.1-hpux --host=hppa1.1-linux --disable-sanity-checks \
    --with-headers=/opt/puffin/include

/opt/puffin/include contains the linux headers files the Mathew Wilcox
tar'd and placed on puffin.external.hp.com.


> make

And then the make died for two different reasons:
1) can't use HP-UX sed. I pulled the sources from the
   porting center and installed them under /opt/puffin/

2) perl. HP-UX 11 ships with perl 4. glibc wants perl5.
   Pulled perl-5.005_03-1.hpux-11.0.depot.gz from puffin.external.hp.com
   and it got quite a bit further

3) I also removed "csu" from sysd-sorted directory list.
   Mathew told me to. So I did. This has to be done *after*
   running ./configure script.

and then the make completed.

> 
> (yes, the entire make should actually happen right now -- though
> nss/makedb still won't compile without the binutils fix I just checked
> in).
> 
> make install install_root=/raid/hp/root MAKEINFO=

Since my NFS root isn't on my build machine, I used
    make install install_root=/linux/root MAKEINFO=

with the plan on recursively copying that over to the nfs root.
For some reason I had to remove "csu" from sysd-sorted again.
Probably just forgot too while retrying something...

thanks Sammy!
grant

> 
> This runs in install into the root for my 712's NFS mount.
> The MAKEINFO= is important, it keeps it from trying to build the manuals,
> which doesn't work without the addon.
> 
> Hope it goes as smoothly for anyone else.
> 
> -- Sam

Grant Grundler
Unix Development Lab
+1.408.447.7253

  reply	other threads:[~2000-04-14 22:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-14 14:18 [parisc-linux] cross compiling glibc Sam Creasey
2000-04-14 22:32 ` Grant Grundler [this message]
2000-04-14 23:04   ` Grant Grundler
2000-04-15  1:24   ` willy

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=200004142232.PAA20329@milano.cup.hp.com \
    --to=grundler@cup.hp.com \
    --cc=parisc-linux@thepuffingroup.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