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]

Problem with "make ARCH=ppc64 oldconfig"


Hi Asaf,
try running
  cd /Home/crosstool-0.28-rc37/build/powerpc64-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3/linux-2.6.8
  make V=1 ARCH=ppc64 oldconfig
and let's see exactly what it's trying to do.
- Dan

-------- Original Message --------
Subject: RE: Qeustion regarding crosstool
Date: Wed, 23 Feb 2005 17:40:15 +0200
From: Asaf Levy <asafl@marvell.com>
To: Dan Kegel <dank@kegel.com>

Thanks for the quick response.
I do use the version you mentioned below (0.28-rc37) and I get the
following error message:

+
BINUTILS_SYSROOT_ARG=--with-sysroot=/opt/crosstool/powerpc64-unknown-lin
ux-gnu/gcc-3.4.2-glibc-2.3.3/powerpc64-unknown-linux-gnu/sys-root
+
GCC_SYSROOT_ARG=--with-sysroot=/opt/crosstool/powerpc64-unknown-linux-gn
u/gcc-3.4.2-glibc-2.3.3/powerpc64-unknown-linux-gnu/sys-root
+
GCC_SYSROOT_ARG_CORE=--with-sysroot=/opt/crosstool/powerpc64-unknown-lin
ux-gnu/gcc-3.4.2-glibc-2.3.3/powerpc64-unknown-linux-gnu/sys-root
+ GLIBC_SYSROOT_ARG=
+ mkdir -p
/opt/crosstool/powerpc64-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3/powerpc
64-unknown-linux-gnu/sys-root/lib
+ mkdir -p
/opt/crosstool/powerpc64-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3/powerpc
64-unknown-linux-gnu/sys-root/usr/lib
+ echo
+ echo Building for --target=powerpc64-unknown-linux-gnu,
--prefix=/opt/crosstool/powerpc64-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.
3
Building for --target=powerpc64-unknown-linux-gnu,
--prefix=/opt/crosstool/powerpc64-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.
3
+ echo Prepare kernel headers
Prepare kernel headers
+ cd
/Home/crosstool-0.28-rc37/build/powerpc64-unknown-linux-gnu/gcc-3.4.2-gl
ibc-2.3.3/linux-2.6.8
+ test -f /Home/crosstool-0.28-rc37/powerpc64.config
+ cp /Home/crosstool-0.28-rc37/powerpc64.config .config
+ test -f .config
+ yes
+ make ARCH=ppc64 oldconfig
  HOSTCC  scripts/basic/fixdep
fixdep:
: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 2
make: *** [scripts_basic] Error 2


Looks like it is trying to execute 'fixdep' with no success. Any idea how the get over it?



-----Original Message-----
From: Dan Kegel [mailto:dank@kegel.com]
Sent: Wednesday, February 23, 2005 16:04
To: Asaf Levy
Subject: Re: Qeustion regarding crosstool

Asaf Levy wrote:
I'm using Cygwin under WinXP and I cross-compile programs that are executed on an embedded system with powerpc64 (970).

1) Can I use crosstool-0.28 (or other) to build a cross compiler (ppc970) that will run on cygwin (Pentium) and produce output for powerpc64-ibm-linux CPU?

Yes. (Use 0.28-rc37, the latest rc.)


2) Do I have to change any of the scripts inside the cross-tool
tarball
to satisfy the cross-tool build on cygwin?

I don't think so. If you run into trouble, post to the crossgcc <crossgcc@sources.redhat.com> mailing list, as I might be offline. Be warned that all future emails from you to me may be forwarded to that list. - Dan

--
Trying to get a job as a c++ developer?  See
http://kegel.com/academy/getting-hired.html



--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
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]