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

See the CrossGCC FAQ for lots more information.


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: CrossGCC FAQ build method not working


On Sun, 2004-04-25 at 14:53, Dan Kegel wrote:
> Seb James wrote:
> > Planning to use newlib. Since I posted my messages yesterday, I
> > successfully built gcc (I was missing links to ld-linux.so.2 and
> > libpthread.so). 
>  > [interlude in sunny garden snipped]
> > 
> > Ok, when I try to configure newlib, it says "this configuration is not
> > supported in the following subdirectories...".
> > ...
> > 
> > [and when I run make,] Nothing gets built!: ...
> > 
> > Wonder what's up....
> 
> Dunno.  I've never built newlib, myself.  However, maybe the following
> build-it-all script contributed by a crosstool user will provide some food for thought:
> 
> http://kegel.com/crosstool/current/contrib/newlib/crosstool-newlib.sh
> 
> Another user reported he had to add --with-gnu-as --with-gnu-ld
> to every configure line in that script, not sure why.
> 
> Good luck!

Thanks Dan.

Discovered that to build newlib v1.12.0, you need to:

a) from newlib-build/ run:
 ../newlib-1.12.0/newlib/configure --options
rather than:
../newlib-1.12.0/configure --options

and 

b) You need to call 'make all-target-newlib' rather than 'make all'.

So, perhaps an update to the crossgcc faq would be timely?

Seb


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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