This is the mail archive of the crossgcc@sourceware.org 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] |
On 1/24/06, vinay hegde <vinaymh@gmail.com> wrote: > 1. Can somebody tell me from where I can downlaod Crosstool? > I tried various links including http://kegel.com/crosstool/crosstool-0.38.tar.gz That URL works for me. > 2. I am trying to build glibc headers using 'as' 2.16.1 _manually_. ... > I am trying the build manually because, I thought that that > will help me in understanding the entire process and also more clear > knowledge of toolchain. Great! Your configure error seems to be because glibc is worried about NPTL working; see http://sourceware.org/ml/binutils/2006-01/msg00051.html If all you want to do is install headers, don't use --enable-add-ons, that should help. Here's the command crosstool uses: # The following three things have to be done to build glibc-2.3.x, but they don't hurt older versions. # 1. override CC to keep glibc's configure from using $TARGET-gcc. # 2. disable linuxthreads, which needs a real cross-compiler to generate tcb-offsets.h properly # 3. build with gcc 3.2 or later # Compare these options with the ones used when building glibc for real below - they're different. # As of glibc-2.3.2, to get this step to work for hppa-linux, you need --enable-hacker-mode # so when configure checks to make sure gcc has access to the assembler you just built... # Alternately, we could put ${PREFIX}/${TARGET}/bin on the path. # Set --build so maybe we don't have to specify "cross-compiling=yes" below (haven't tried yet) # Note: the warning # "*** WARNING: Are you sure you do not want to use the `linuxthreads'" # *** add-on?" # is ok here, since all we want are the basic headers at this point. # Override libc_cv_ppc_machine so glibc-cvs doesn't complain # 'a version of binutils that supports .machine "altivec" is needed'. libc_cv_ppc_machine=yes \ CC=gcc \ ${GLIBC_DIR}/configure --prefix=/usr \ --build=$BUILD --host=$TARGET \ --without-cvs --disable-sanity-checks --with-headers=$HEADERDIR \ --enable-hacker-mode -- Wine for Windows ISVs: http://kegel.com/wine/isv ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |