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]

Cygwin problem building (again) - newbie


Hi everyone,

I sent some questions last week about my MPC555 build and now I am trying it
again, so... I had the following error when compiling the binutils:

----------------------------------------------------------------------------
-------
$ /src/binutils/binutils-2.13/configure --target=powerpc-eabi \
> --prefix=/tools \
> --exec-prefix=/tools/H-i686-pc-cygwin \
> -v 2>&1 | tee configure.out
Configuring for a i686-pc-cygwin host.
Created "Makefile" in /tmp/build/binutils using "mh-frag"
cc: not found
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
----------------------------------------------------------------------------
-------


What is needed to install CC?
I made a search for  " *** You must set the environment variable CC to a
working compiler." and I found this solution:

ln cc.exe gcc.exe

(in /bin)
It doesnt work for me. But this:

ln gcc.exe cc.exe

works and now I have this output (after a LOT of warnings):

--------------------------------------------------------------------
/src/binutils/binutils-2.13/libiberty/cplus-dem.c:4869: warning: passing arg
2 o
f `memcpy' discards qualifiers from pointer target type
make[1]: *** [cplus-dem.o] Error 1
make[1]: Leaving directory `/tmp/build/binutils/libiberty'
make: *** [all-libiberty] Error 2
make: Leaving directory `/tmp/build/binutils'
--------------------------------------------------------------------

I downloaded cygwin using the cygwin setup from www.cygwin.com, and I
instaled these packages:
gcc: C, C++, Fortran compilers
gcc-mingw: Mingw32
gcc2: Version2.95.3 of C,C++, Fortran
gdb

and some other packages. So.. I have a compiler but I am doing something
wrong.
Does anyone here knows how to solve this problem? Is this something related
with libs?
Thanks in advance,

Sérgio Duarte e Silva
www.mlap.de


-- 
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]