This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC Build Problem for i386



> Hi,
> I am building eCOS 1.3.1 for i386 platform.
> I am using Cygwin on Win2k.
> I am proceeding as per the instructions given on the page "Building the
> Intel x86 develoopment tools for windows".
> The configuration and Build of binutils package has gone off smoothly.
> Even the configuration of gcc has been done without any problems.
> But when I am trying to build the gcc package, it is giving the following
> error.
>
> [snip]:
> gcc -DCROSS_COMPILE -DIN_GCC     -g -O2  -DHAVE_CONFIG_H  -o collect2.exe
> collec
> t2.o tlink.o hash.o intl.o underscore.o version.o
> ck.o       -ladvapi32 ..
> /libiberty/libiberty.a
> cp xgcc.exe gcc-cross.exe
>
/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -B/tools/H-i686-pc-cygwin/i386
> -elf
> /bin/ -I/tools/H-i686-pc-cygwin/i386-elf/include -dumpspecs > tmp-specs
> mv tmp-specs specs
> echo "void __foo () {}" > dummy.c
>
/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -B/tools/H-i686-pc-cygwin/i386
> -elf
> /bin/ -I/tools/H-i686-pc-cygwin/i386-elf/include -DCROSS_COMPILE -DIN_GCC
>   -g
>  -O2 -I./include  -c dummy.c
> i386-elf-ar rc libgcc1.null dummy.o
> i386-elf-ar: not found
> make[1]: *** [libgcc1.null] Error 127
> make[1]: Leaving directory `/tmp/build/gcc/gcc'
> make: *** [all-gcc] Error 2
> make: Leaving directory `/tmp/build/gcc'
> ----------------------------------------------------------
>
> Could anyone help me to solve this problem ?
>
> With Hope...
> Krishna Mohan.
>
>
>


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