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]

Re: GCC Build Problem for i386



> wpd,
>
> I have set the path as you have said.
> In the page "Building the Intel x86 dev for Windows", it is given to set
the
> path as
> "PATH=/tools/H-i686-pc-cygwin/bin:$PATH ; export PATH"
>
> But as you have said, I have given the following path.
> "PATH=/tools/H-i686-pc-cygwin/i386-elf/bin:$PATH ; export PATH"
>
> Now, upon configuring the GCC again after setting the above path, it is
> giving the following errors.
>
> [snip]:
> Configuring for a i686-pc-cygwin32 host.
> Created "Makefile" in /tmp/build/gcc using "mh-frag"
> /tmp/ccc3QtT2.s: Assembler messages:
> /tmp/ccc3QtT2.s:27: Error: Unknown pseudo-op:  `.def'
> /tmp/ccc3QtT2.s:27: Error: Unknown pseudo-op:  `.scl'
> /tmp/ccc3QtT2.s:27: Error: ignoring unrecognized symbol type ""
> /tmp/ccc3QtT2.s:27: Error: Rest of line ignored. First ignored character
is
> `3'.
>
> /tmp/ccc3QtT2.s:27: Error: Unknown pseudo-op:  `.endef'
> /tmp/ccc3QtT2.s:31: Error: Unknown pseudo-op:  `.def'
> /tmp/ccc3QtT2.s:31: Error: Unknown pseudo-op:  `.scl'
> /tmp/ccc3QtT2.s:31: Error: ignoring unrecognized symbol type ""
> /tmp/ccc3QtT2.s:31: Error: Rest of line ignored. First ignored character
is
> `3'.
>
> /tmp/ccc3QtT2.s:31: Error: Unknown pseudo-op:  `.endef'
> *** The command 'gcc -o conftest -g -O2   conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.
> --------------------------------------------------------------------------
--
> I have set path for the working compiler as /i386-elf/bin.
> But still it is giving this error.
> Please help me out.
>
> Krishna Mohan.
> --------------------------------------------------------
>
> > > /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'
> > > > ----------------------------------------------------------
> > This sounds suspiciously like i386-elf-ar is not in your path.  Did you
> > remember to execute something like:
> >
> > PATH=/tools/H-i686-pc-cygwin/i386-elf/bin:$PATH ; export PATH
> >
> > after installing the binutils?
> >
> > --wpd
> >
> >
> >
>
>


Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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