public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Building cygwin.dll
@ 2001-07-16  0:54 Bill Petheram
  2001-07-16  1:47 ` egor duda
  2001-07-16  2:27 ` Bill Petheram
  0 siblings, 2 replies; 6+ messages in thread
From: Bill Petheram @ 2001-07-16  0:54 UTC (permalink / raw)
  To: cygwin

I am trying to build a dll for debugging.

I down loaded cygwin-1.3.2-1.src.tar.gz untar it and do a ./configure,
fairly standard isn't it?

but I keep getting errors in newlib such as

.:Can't open ./.././install-sh: No such file or directory.

It seems to look in i686-pc-cygwin.

What am I doing wrong?

thanks

bill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building cygwin.dll
  2001-07-16  0:54 Building cygwin.dll Bill Petheram
@ 2001-07-16  1:47 ` egor duda
  2001-07-16  2:27 ` Bill Petheram
  1 sibling, 0 replies; 6+ messages in thread
From: egor duda @ 2001-07-16  1:47 UTC (permalink / raw)
  To: Bill Petheram; +Cc: cygwin

Hi!

Monday, 16 July, 2001 Bill Petheram bilpet@hplb.hpl.hp.com wrote:


BP> I am trying to build a dll for debugging.

BP> I down loaded cygwin-1.3.2-1.src.tar.gz untar it and do a ./configure,
BP> fairly standard isn't it?

BP> but I keep getting errors in newlib such as

BP> .:Can't open ./.././install-sh: No such file or directory.

BP> It seems to look in i686-pc-cygwin.

BP> What am I doing wrong?

not reading FAQ, apparently. see

http://cygwin.com/cygwin/faq/faq_4.html#SEC92

for details about rebuilding dll.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building cygwin.dll
  2001-07-16  0:54 Building cygwin.dll Bill Petheram
  2001-07-16  1:47 ` egor duda
@ 2001-07-16  2:27 ` Bill Petheram
  1 sibling, 0 replies; 6+ messages in thread
From: Bill Petheram @ 2001-07-16  2:27 UTC (permalink / raw)
  To: cygwin

No excuse, but I didn't think I was rebuilding the tools.

From the FAQ:

	Note: You must build in a directory outside the source tree.

thanks

bill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: building cygwin.dll
  1997-12-02 20:23 Larry Hall
@ 1997-12-03 15:26 ` Mumit Khan
  0 siblings, 0 replies; 6+ messages in thread
From: Mumit Khan @ 1997-12-03 15:26 UTC (permalink / raw)
  To: Larry Hall; +Cc: gnu-win32

> In file included from /usr/obj/cdk/gcc/include/syslimits.h:7,
>                  from /usr/obj/cdk/gcc/include/limits.h:11,
>                  from /usr/src/cdk/newlib/libm/math/s_ilogb.c:62:
> /usr/obj/cdk/gcc/include/limits.h:116: limits.h: No such file or directory

Classic include_next problem. As a quick workaround, edit the file
/usr/obj/cdk/gcc/gcc/include/limits.h, and remove the beginning and
ending extra stuff to include a system specific limits file if it
exists.

Basically, delete the initial lines until your first line is the
following:
  #ifndef _LIMITS_H__

now delete backwards from the end until your last line is:
  #endif /* _LIMITS_H__ */

Mumit


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: building cygwin.dll
@ 1997-12-03  8:26 Earnie Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Earnie Boyd @ 1997-12-03  8:26 UTC (permalink / raw)
  To: lhall; +Cc: gnu-win32

>Date: Tue, 02 Dec 1997 23:04:20 -0500
>To: gnu-win32@cygnus.com
>From: Larry Hall <lhall@rfk.com>
>Subject: building cygwin.dll
>
>Perhaps someone can help me.

[snip]


>#include_next <limits.h>        /* recurse down to the real one */
>
>I have not been able to find anything in man pages that tell me what 
>#include_next should do.  Can anyone tell me why I get this complaint 
and
>what I might try to rectify it?
>


The #include_next is expecting to find another limits.h file based upon 
the include paths.  The documentation for this can be found in the 
cpp.info file.

-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* building cygwin.dll
@ 1997-12-02 20:23 Larry Hall
  1997-12-03 15:26 ` Mumit Khan
  0 siblings, 1 reply; 6+ messages in thread
From: Larry Hall @ 1997-12-02 20:23 UTC (permalink / raw)
  To: gnu-win32

Perhaps someone can help me.

I'm trying to build the cygwin DLL.  I'm using the source with the original
b18 distribution plus the source for winsup and newlib from Sergey's 
coolview-src_tar.gz, circa 10/30.  I'm building on NT 4.0 + sp3.  I have 
substituted the original b18 signal.h for the one in Sergey's newlib 
directory in addition to removing #ifdef OLDWAY statements from code in 
this directory.  The configure went fine.  The source is in /usr/src/cdk 
and the objects in /usr/obj/cdk.  All mounts are binary.  I start the 
compile with 

make all-target-winsup

in the /usr/obj/cdk directory.  This proceeds uneventfully until it reaches
the /usr/obj/cdk/gcc directory.  When it goes to compile 
/usr/src/cdk/newlib/libm/math/s_ilogb.c, it complains:

/usr/obj/cdk/gcc/xgcc -B/usr/obj/cdk/gcc/ -idirafter 
/usr/obj/cdk/./newlib/targ-include -idirafter 
/usr/src/cdk/newlib/libc/include -nostdinc -O2  -O2 -DHAVE_OPENDIR 
-DHAVE_RENAME -DSIGNAL_PROVIDED -fno-builtin 
-I/usr/obj/cdk/newlib/./targ-include -I/usr/src/cdk/newlib/./libc/include 
-c /usr/src/cdk/newlib/libm/math/s_ilogb.c
In file included from /usr/obj/cdk/gcc/include/syslimits.h:7,
                 from /usr/obj/cdk/gcc/include/limits.h:11,
                 from /usr/src/cdk/newlib/libm/math/s_ilogb.c:62:
/usr/obj/cdk/gcc/include/limits.h:116: limits.h: No such file or directory
make[3]: *** [s_ilogb.o] Error 1
make[2]: *** [math/lib.a] Error 1
make[1]: *** [libm/libm.a] Error 2
make: *** [all-target-newlib] Error 2

I've attached the limits.h and syslimits.h file the above error references.
My CPLUS_INCLUDE_PATH and C_INCLUDE_PATH read as follows:

CPLUS_INCLUDE_PATH=/usr/include:/usr/include/g++
C_INCLUDE_PATH=/usr/include

These paths are valid.  Obviously, a limits.h file exists since its the
one complaining that it cannot find limits.h.  The line that generates
the complaint reads:

#include_next <limits.h>        /* recurse down to the real one */

I have not been able to find anything in man pages that tell me what 
#include_next should do.  Can anyone tell me why I get this complaint and
what I might try to rectify it?

TIA,

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-07-16  2:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-16  0:54 Building cygwin.dll Bill Petheram
2001-07-16  1:47 ` egor duda
2001-07-16  2:27 ` Bill Petheram
  -- strict thread matches above, loose matches on Subject: below --
1997-12-03  8:26 building cygwin.dll Earnie Boyd
1997-12-02 20:23 Larry Hall
1997-12-03 15:26 ` Mumit Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).