This is the mail archive of the newlib@sourceware.org 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: How do I point out OS includes? -- Or how to Build My Own SDK using Newlib


On 18 April 2007 13:31, Anders Lindgren wrote:


> - Built and installed binutils configured as --target=foo-bar-baz
> --prefix=/my/tool/dir --program-prefix=foo- # Shorter to type.
> 
> - Soft-linked foo-bar-baz-$file to all of binutils' foo-$file (because gcc
> is too stupid to guess that if I'm building it with program-prefix=foo,
> binutils might just have been, too).

  Or configure gcc using "--with-gnu-as=/my/tool/dir/bin/foo-as
--with-gnu-ld=/my/tool/dir/bin/foo-ld"?

  Come to think of that, if you aren't using at least "--with-gnu-as
--with-gnu-ld", it has no idea whether you're using binutils or something
else, so maybe that's why it doesn't infer that --program-prefix is relevant.
You did't tell us what configure options you use for gcc in your post, can we
see your actual binutils and (pre-)gcc configure commands?




    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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