This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Libgloss tree and diference between "architecture" and "platform".
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Paul Chavent <paul dot chavent at fnac dot net>, newlib at sources dot redhat dot com
- Date: Tue, 18 Jan 2005 11:55:33 -0500
- Subject: Re: Libgloss tree and diference between "architecture" and "platform".
- References: <41E95762.2070202@fnac.net> <41ECE43F.90607@redhat.com>
Nick Clifton wrote:
Hi Paul,
Should i create a new directory in the libgloss tree (like
libgloss/myplatform) or should i create specific files in the arm one
(like libgloss/arm/redboot-syscalls.c i provide
libgloss/arm/myplatform-syscalls.c) ?
I would strongly suggest that you use the libgloss/arm directory.
Seconded. That is the whole idea of the libgloss directory. You build for arm
and can then link in a variety of bsps to support particular boards. As well,
it is helpful when an exact match doesn't exist so that a developer can look for
the closest match.
If you are going to be creating lots of files you might like to use a
sub-directory off this directory, eg:
libgloss/arm/myplatform/
It will be much easier for you to keep this in the arm subdirectory as you won't
have to worry about configuration.
Cheers
Nick