Problem Building libiberty Under Cygwin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. I'm having a problem building Libiberty under Cygwin. I'm a real newbie with the whole configure/make process so would very much appreciate some help.

My long term aim is to build GCC 4.4, as it supports the forthcoming AES-NI instructions from Intel.

First, I used Cygwin setup to install the Cygwin base packages, along with GCC 3.4.4, BinUtils 2.18.50, GNU Make 3.81, and GNU Flex 2.5.35.

I then followed the GCC installation instructions as best I could.
I created an empty directory in which to build GCC, and switched into it.
I ran <sourcedir>/configure, with no arguments, and it completed with no errors. I then ran make, but got an error (see below) when it was compiling regex.c in Libiberty.

I then tried to build Libiberty on its own.
I created an empty directory, and switched to it
I ran <sourcedir>/configure, with no arguments, which completed with no errors.
But perhaps significantly, the output contained the following 2 lines:
config.status: creating config.h
config.status: config.h is unchanged

Note that no config.h is created.

I then ran make, and got the same error:
<sourcedir>/regex.c:39:22: config.h, no such file or directory.

I note that the invocation of gcc includes the argument -DHAVE_CONFIG_H
This explains why regex.c is trying to include it, but I'm not clear why config.h isn't being generated as part of the configure step.

Please can someone suggest how to fix this problem, or let me know what additional information you need in order to help?

Many thanks.

John (Burling)



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux