This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Newbie: problems building gcc 2.95.2


Hi!

I'm trying to build gcc under Windows NT but having troubles with it.

I've done the following things:

- installed Cygwin B20.1
- installed the patch gcc-2.95.2-cygb20.tar.gz
- downloaded and unpacked gcc-2.95.2.tar.bz2 to /usr/local/src/gcc-2.95.2
- created /usr/local/build/gcc-2.95.2

scenario 1.

$ cd /usr/local/build/gcc-2.95.2
$ bash /usr/local/src/gcc-2.95.2/configure -v i586-cygwin32

this works fine

$ make > make.log 2>&1

this fails with
/usr/local/src/gcc-2.95.2/gcc/libgcc2.c:41: stdlib.h: No such file or
directory
/usr/local/src/gcc-2.95.2/gcc/libgcc2.c:42: unistd.h: No such file or
directory


scenario 2.

install the gcc-2.95.2-x86-win32.diff patch first

in this case, configure fails with
Configuring gcc...
: not found
: not found
: not found
: not found
: not found
/usr/local/src/gcc-2.95.2/gcc/configure: 123: Syntax error: Bad for loop
variable
Configure in /Cygnus/usr/local/build/gcc-2.95.2/gcc failed, exiting.


scenario 3.

I tried to not install the full patch (gcc-2.95.2-x86-win32.diff) but only
relative-path and libgcc2 patches.

In this case configure works but make fails telling that nothing to be done
for [all] (or something like that).


What am I doing wrong?


Thanks in advance
Serge S. Spiridonoff


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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