[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] trying to build avrgcc using cygwin
From: |
Sander Pool |
Subject: |
[avr-gcc-list] trying to build avrgcc using cygwin |
Date: |
Thu, 21 Feb 2002 16:44:00 -0800 |
Folks,
I'm not having much luck getting a patched win32 version of avrgcc going
that supports mega128 parts so I figured I'd try to build it myself. Ha. I
already had cygwin on my system so I downloaded gcc 3.0.3 and I'm trying to
configure and build it as follows:
$ cd build-gcc-3.0.3
$
../gcc-3.0.3/configure -v --target=avr --prefix=/cygdrive/c/avrgc/new --with
-g
nu-ld --with-gnu-as --disable-nls > conf_gcc.log 2>&1
$ make all LANGUAGES="c" > build_gcc.log 2>&1
The configure step doesn't cause any errors but when I build it I get (at
the end of the log file):
(MAKE="make"; srcdir=`cd ../../gcc-3.0.3/gcc/fixinc && pwd` ; \
CC="gcc";
CFLAGS="-DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict
-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DH
AVE_CONFIG_H -DGENERATOR_FILE"; LDFLAGS=""; \
WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototyp
es -Wtraditional -pedantic -Wno-long-long"; \
export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS; cd ./fixinc && \
/bin/sh ${srcdir}/mkfixinc.sh i686-pc-cygwin avr-unknown-none)
constructing ../fixinc.sh for avr-unknown-none to run on i686-pc-cygwin
make TARGETS=oneprocess SHELL="/bin/sh" CC="gcc"
CFLAGS="-DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-pr
ototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_
CONFIG_H -DGENERATOR_FILE" LDFLAGS="" install-bin
make[2]: Entering directory
`/cygdrive/c/avrgcc/sources/build-gcc-3.0.3/gcc/fixinc'
/bin/sh ../../../gcc-3.0.3/gcc/fixinc/genfixes machname.h
-uThe system cannot find the file specified.
make[2]: *** [machname.h] Error 1
make[2]: Leaving directory
`/cygdrive/c/avrgcc/sources/build-gcc-3.0.3/gcc/fixinc'
make[1]: *** [fixinc.sh] Error 2
make[1]: Leaving directory `/cygdrive/c/avrgcc/sources/build-gcc-3.0.3/gcc'
make: *** [all-gcc] Error 2
This is my first time building gcc so I'm just stumbing in the dark. While I
go on trying to figure out what went wrong, could someone point me in the
right direction?
Once I can build avrgcc 3.0.3 I will try to apply patches published here to
add mega128 support. I can dream, right? :-)
BTW Anton, thanks for your help but somehow the files you sent aren't enough
to get testprograms compiled with mega128 support. I must be doing something
wrong.
Thanks,
Sander
avr-gcc-list at http://avr1.org
- [avr-gcc-list] trying to build avrgcc using cygwin,
Sander Pool <=