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".




Paul Chavent wrote:
Jeff Johnston a écrit :

[...]

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.



In any cases we will have to customize the configuration (add our object files and target files ) ? Won't we ?
More over, i'am not sure that the new files we should provide, are the same kind of which already are in the libgloss/arm directory for example.



In this case I am talking about build configuration. To add your bsp, you only have to modify Makefile.in and add your files to the directory. It is very straightforward to modify Makefile.in by copying and modifying an existing bsp that is already built there. You can prefix all your added files to keep them distinguished from the rest of the files if that is your wish. If you add a subdirectory, you have to do extra work so configuration of libgloss will know to build your library in the subdirectory. This means you will have to edit the file libgloss/arm/configure.in in addition to libgloss/arm/Makefile.in.


-- Jeff J.



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