error compiling patch

Gerard Beekmans gerard at linuxfromscratch.org
Sun Jan 7 11:34:55 PST 2001


On January  7, 2001 01:12 pm, Matthias Minich wrote:
> hi
> i just recompiled glibc-2.2 and then tried again to make patch. with the
> following results:
>
> root:/usr/src/patch-2.5.4# ./configure --prefix=/usr && make && make
> install loading cache ./config.cache
> checking host system type... i586-pc-linux-gnu
> checking for gcc... gcc
> checking whether the C compiler (gcc -O3 -march=xxx ) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
> root:/usr/src/patch-2.5.4#
>
> hmmm, i guess it's not good if the compiler can't create those
> executables...
> any ideas?

yes, see your gcc command says -march=xxx
that's invalid . the book told you to replace xxx with the proper 
architecture (like i686)

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list