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


Hmmm.... I am out of ideas right now (although, something will come to me
later in the day when I am in a totally unrelated meeting or something :-).
The difference in the PATH statements arises from the fact that I was trying
to construct a suitable path for you based on my memory and on what I
thought I read in your email message.  If you followed the instructions
precisely as they are given on the web page (i.e. with the same --prefix
and --exec-prefix arguments), then you should probably set the path
precisely the way that the web page says to set it and you should ignore my
previous email.  If that is the case, then I will go back to my previous
comment, which seemed like i386-elf-ar was not in your path.  What happens
when you type "i386-elf-ar" at the command prompt?  If you get a response
like "i386-elf-ar: command not found", then there is a problem with your
path.

I am thinking that you should probably revert to your original path and try
to figure out why Make couldn't find "i386-elf-ar".  Is it possible that
binutils did not build correctly?  Is it possible that you didn't do a "make
install"?  etc...

--wpd


> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of venkatesh
> Sent: Monday, February 11, 2002 1:00 AM
> To: ecos-discuss@sources.redhat.com
> Subject: Re: [ECOS] 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
>


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]