This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Libgloss tree and diference between "architecture" and "platform".


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




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