[Efi332] Building newlib/libgloss for MPC555
David Eicher
sailors3
Tue Jul 26 14:08:26 UTC 2005
Thanks Gunter, Hmmmm, there is no mention of an "install" step in the readme
file on the newlib website. I think you saved my bacon here.
I'll do that tonight when I get home from work. I assume it will be obvious
which library to use, and what to modify to get the new libgloss, and how to
build libgloss after it is modified.
Thanks much,
Dave
-----Original Message-----
From: efi332-bounces at diy-efi.org [mailto:efi332-bounces at diy-efi.org] On
Behalf Of Gunter Magin
Sent: Tuesday, July 26, 2005 5:10 AM
To: efi332 at diy-efi.org
Subject: Re: [Efi332] Building newlib/libgloss for MPC555
On Tue, Jul 26, 2005 at 04:27:36AM -0700, David Eicher wrote:
> Hello,
>
> I started make before going to bed, I don't know how long it ran, but it
was
> quite a while. Under the directory I created I now have:
<...>
Looks good. Congrats.
Don't forget to run a "make install" in the toplevel newlib work
directory, (the one in which you called ../newlib-x.x.x/configure). This
run transfers the relevant end results of your nightly compile run into
the installation directory. Otherwise, your target app Makefile will
not find the libs and include files. You have specified the install path
with the --prefix option (or left the default /usr/local), and that is
merged into the Makefiles in the work tree.
After that, you are free to cleanup (purge) the build tree, and recover
some MB disk space, for example run a "make clean". But wait, you still
have to add libgloss support for your particular target board....
> Under each of these subdirectories there are tons of files and libraries.
I
> am now looking for documentation that explains which of these sets of
> directories I'm suppose to work with to get me a lib or two I can link in
> with my target code. There are almost countless numbers of libraries here,
> how does one choose?
Now you know why your Makefile is that long: it contains these
informations.
gm
_______________________________________________
Efi332 mailing list
Efi332 at diy-efi.org
http://lists.diy-efi.org/mailman/listinfo/efi332
More information about the Efi332
mailing list