From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12623 invoked by alias); 24 Mar 2004 15:29:13 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 12598 invoked from network); 24 Mar 2004 15:29:11 -0000 Received: from unknown (HELO hotmail.com) (207.68.165.55) by sources.redhat.com with SMTP; 24 Mar 2004 15:29:11 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 24 Mar 2004 07:28:58 -0800 Received: from 212.143.127.195 by sea2fd.sea2.hotmail.msn.com with HTTP; Wed, 24 Mar 2004 15:28:57 GMT X-Originating-IP: [212.143.127.195] X-Originating-Email: [zstingx@hotmail.com] X-Sender: zstingx@hotmail.com From: "sting sting" To: ian@wasabisystems.com, gcc-help@gcc.gnu.org Bcc: Subject: Re: Re: target of cross compile : problem in make (newbie) Date: Wed, 24 Mar 2004 19:24:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Mar 2004 15:28:58.0108 (UTC) FILETIME=[B9BB93C0:01C411B4] X-SW-Source: 2004-03/txt/msg00243.txt.bz2 Hello, First Thnxs Ian Lance. Second: I took the "powerpc-*-elf" from the "INSTALL" folder of the gcc where there are some docs in HTML about configuring . Now I made a separate folder for build, and ran from there ../gcc-3.3.2/configure --target=powerpc-elf I got again the message: Configuring for a i686-pc-linux-gnu host. *** This configuration is not supported in the following subdirectories: target-libffi target-boehm-gc target-zlib target-libjava (Any other directories should still work fine.) But again configure finished successfully; but in make I had passed the "Ada" stage and got a different error this time (I think it has to do with the assmebler) if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /home/ffami/src/build-gcc/gcc/xgcc -B/home/ffami/src/build-gcc/gcc/ -B/usr/local/powerpc-elf/bin/ -B/usr/local/powerpc-elf/lib/ -isystem /usr/local/powerpc-elf/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/gcc/. -I../../gcc-3.3.2/gcc/config -I../../gcc-3.3.2/gcc/../include -mrelocatable-lib -mno-eabi -mstrict-align -DL_muldi3 -c ../../gcc-3.3.2/gcc/libgcc2.c -o libgcc/./_muldi3.o as: unrecognized option `-mppc' make[2]: *** [libgcc/./_muldi3.o] Error 1 make[2]: Leaving directory `/home/ffami/src/build-gcc/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/home/ffami/src/build-gcc/gcc' make: *** [all-gcc] Error 2 Any idea? any help will be appreciated. regards, sting >From: Ian Lance Taylor >To: "sting sting" >CC: gcc-help@gcc.gnu.org >Subject: Re: target of cross compile : problem in make (newbie) >Date: 24 Mar 2004 09:32:00 -0500 > >"sting sting" writes: > > > ./configure --target=powerpc-*-elf > > I get the follwoing error: > > "./configure: No match." > >First of all, never use ./configure. Always build in a different >directory. > >Secondly, just use powerpc-elf, not powerpc-*-elf. > >So, you want somethig like > ../gcc/configure --target=powerpc-elf > >I assume you saw the '*' in configure scripts doing a switch on >target. That is a shell pattern on the canonical name. Don't confuse >that with the name you use for a target. > >No idea on your Ada problem, but it may be related to running >configure in the source directory. > >Ian _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus