Re: linker can't find getsubopt()

2003-01-31 Thread Christopher Faylor
On Fri, Jan 31, 2003 at 08:47:15PM -, Max Bowsher wrote: >Christopher Faylor wrote: >> On Mon, Jan 20, 2003 at 08:59:35PM -, Max Bowsher wrote: >>> Christopher Faylor wrote: I don't think it is that simple. Cygwin doesn't use the getopt that comes with newlib. >>> >>> Ah. Just be

Re: linker can't find getsubopt()

2003-01-31 Thread Max Bowsher
Christopher Faylor wrote: > On Mon, Jan 20, 2003 at 08:59:35PM -, Max Bowsher wrote: >> Christopher Faylor wrote: >>> I don't think it is that simple. Cygwin doesn't use the getopt that >>> comes with newlib. >> >> Ah. Just because I'm curious, why? >> >>> Is there supposed to be any correspon

Re: linker can't find getsubopt()

2003-01-20 Thread Christopher Faylor
On Mon, Jan 20, 2003 at 08:59:35PM -, Max Bowsher wrote: >Christopher Faylor wrote: >> I don't think it is that simple. Cygwin doesn't use the getopt that >> comes with newlib. > >Ah. Just because I'm curious, why? > >> Is there supposed to be any correspondence between >> the getopt version a

Re: linker can't find getsubopt()

2003-01-20 Thread Max Bowsher
Christopher Faylor wrote: > I don't think it is that simple. Cygwin doesn't use the getopt that > comes with newlib. Ah. Just because I'm curious, why? > Is there supposed to be any correspondence between > the getopt version and the getsubopt version? I've just looked at newlib's getsubopt.c.

Re: linker can't find getsubopt()

2003-01-19 Thread Christopher Faylor
On Sun, Jan 19, 2003 at 05:53:02PM -, Max Bowsher wrote: >Christopher Faylor wrote: >> On Sun, Jan 19, 2003 at 04:49:04PM -, Max Bowsher wrote: >>> It appears getsubopt is in newlib, and so present in Cygwin's >>> , but not exported from cygwin1.dll >>> >>> One of Cygwin's core developers w

Re: linker can't find getsubopt()

2003-01-19 Thread Max Bowsher
Christopher Faylor wrote: > On Sun, Jan 19, 2003 at 04:49:04PM -, Max Bowsher wrote: >> It appears getsubopt is in newlib, and so present in Cygwin's >> , but not exported from cygwin1.dll >> >> One of Cygwin's core developers will need to tell us whether this is >> accidental or on purpose. -

Re: linker can't find getsubopt()

2003-01-19 Thread Randall R Schulz
At 09:32 2003-01-19, Christopher Faylor wrote: On Sun, Jan 19, 2003 at 04:49:04PM -, Max Bowsher wrote: >It appears getsubopt is in newlib, and so present in Cygwin's >, but not exported from cygwin1.dll > >One of Cygwin's core developers will need to tell us whether this is >accidental or on

Re: linker can't find getsubopt()

2003-01-19 Thread Christopher Faylor
On Sun, Jan 19, 2003 at 04:49:04PM -, Max Bowsher wrote: >It appears getsubopt is in newlib, and so present in Cygwin's >, but not exported from cygwin1.dll > >One of Cygwin's core developers will need to tell us whether this is >accidental or on purpose. Oh, it's on purpose. Believe me. Cau

Re: linker can't find getsubopt()

2003-01-19 Thread Max Bowsher
It appears getsubopt is in newlib, and so present in Cygwin's , but not exported from cygwin1.dll One of Cygwin's core developers will need to tell us whether this is accidental or on purpose. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http:/

linker can't find getsubopt()

2003-01-19 Thread Maor Avni
Hi, I try to compile this simple program on cygwin: #include #include #include int main() { getsubopt(0,0,0); return 0; } gcc has no problem with the program, but when linking starts, the linker can't find a reference to getsubopt. I don't care about the program working or not, I jus