This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: Help with ppc-linux cross


Brendan Simon wrote:

> Will Sloan wrote:
> {snip}

>
> Where did these include files come from ?  A glibc distribution ?
>

Yes.  I got them from glibc2.1

>
> I haven't seen this problem but make sure that you have the following.
> 1) preinstalled include files from a powerpc distribution to
> $prefix/$target/include
> 2) preinstalled library files from a powerpc distribution to $prefix$target/lib
>

I'm trying to build the compiler so then I can build the libs.  Is the problem that
I need the libs to build the cross compiler and I need the cross compiler to build
the libs??

> 3) installed the linux kernel source tree to $prefix/$target/linux
> 4) cd $prefix/$target/linux ; rm -rf `ls --color=none --ignore=include`
> 4) cd $prefix/$target/linux ; ln -sf asm-ppc asm
> 5) cd $prefix/$target/include ; ln -sf $prefix/$target/linux/include/asm-ppc asm
> 6) cd $prefix/$target/include ; ln -sf $prefix/$target/linux/include/linux linux
>
> I'm not sure if it will solve your problem but it might help.
>
> Brendan Simon.


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


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