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]

RE: New Cygwin: "commands commence before first target"



For me make 3.79 builds fine just OOTB (OK, I followed the README.W32 and changed manually config.h.W32 for Cygwin compilation).
Just extract into a binary mounted drive, change config.h.W32, run ./configure, run make and make install.
Be sure to have /usr/local/bin before /usr/bin in your path and delete the make*.info files from /usr/info to get the correct manuals of /usr/local/info.

I've found one bug, that could be related with the new eol handling:

%.o: %.cxx
     @echo Compiling $<
     $(CC) -o $@ $<

After a line beginning with @ all following lines are treated alike, i.e. you may not see the line calling the compiler

OTH version 3.77 has other bugs, solved with 3.79 e.g.

-include another.mak

The inclusion should be ignored, if another.mak could not be build. Version 3.76.x handles this right, 3.77 is broken, 3.79 is correct again.

Greetings,
Jörg


---------------------------------------- Message History ----------------------------------------


From: bkline@rksystems.com on 25/05/2000 17:43

To:   david.karr@attws.com
cc:   cygwin@sourceware.cygnus.com
Subject:  RE: New Cygwin: "commands commence before first target"



On Thu, 25 May 2000, Karr, David wrote:

> I would have guessed that doing "setup make" would get the latest
> version. It apparently doesn't.  It only gets version 3.77.  Is
> version 3.79 kosher for installing with cygwin?

I don't know what the official answer is, but 3.79 won't build under
win32 (at least for the NMakefile method) without a little hacking of
the sources. Specifically:

*** main.c~     Thu Feb 24 16:00:20 2000
--- main.c      Thu May 25 13:30:55 2000
***************
*** 141,147 ****
  /* Print debugging info (--debug).  */

  static struct stringlist *db_flags;
! static int debug_flag = 0;

  int db_level = 0;

--- 141,147 ----
  /* Print debugging info (--debug).  */

  static struct stringlist *db_flags;
! /* static BK 2000-05-25 Must be global */ int debug_flag = 0;

  int db_level = 0;

D:\tmp\make-3.79>diff -c config.h.W32 config.h
*** config.h.W32        Tue Apr 04 15:29:42 2000
--- config.h    Thu May 25 13:09:24 2000
***************
*** 30,35 ****
--- 30,39 ----
  #undef gid_t
  #define gid_t int

+ #ifndef LOCALEDIR
+ #define LOCALEDIR "d:/usr/share/locale"
+ #endif
+
  /* Define if you have alloca, as a function or macro.  */
  #undef HAVE_ALLOCA
  #define HAVE_ALLOCA 1

--
Bob Kline


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









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