Peter A. Castro wrote:
No, the example above is from the command line in which *you*
specified "-I../../include -I/usr/include -I/usr/include/mingw".
Sorry I misunderstood you.
Didn't really want to have to sign up for yet another account on
another mailing list, yadda, yadda. It seemed to
On Mon, 25 Nov 2002, Andrew DeFaria wrote:
> Christopher Faylor wrote:
>
> > [one more for the archives]
> > On Mon, Nov 25, 2002 at 04:51:38PM -0800, Andrew DeFaria wrote:
> >
> >> If this were really so then why, if I don't specify -I/usr/include I
> >> get getopt.h not found?!? I should be f
On Mon, Nov 25, 2002 at 05:42:43PM -0800, Andrew DeFaria wrote:
>Christopher Faylor wrote:
>
>>[one more for the archives]
>>On Mon, Nov 25, 2002 at 04:51:38PM -0800, Andrew DeFaria wrote:
>>
>>>If this were really so then why, if I don't specify -I/usr/include I
>>>get getopt.h not found?!? I sh
Christopher Faylor wrote:
[one more for the archives]
On Mon, Nov 25, 2002 at 04:51:38PM -0800, Andrew DeFaria wrote:
If this were really so then why, if I don't specify -I/usr/include I
get getopt.h not found?!? I should be found in /usr/include/getopt.h no?
/usr/include is for cygwin apps.
[one more for the archives]
On Mon, Nov 25, 2002 at 04:51:38PM -0800, Andrew DeFaria wrote:
>If this were really so then why, if I don't specify -I/usr/include I get
>getopt.h not found?!? I should be found in /usr/include/getopt.h no?
/usr/include is for cygwin apps. If you add -I/usr/include y
Peter A. Castro wrote:
On Mon, 25 Nov 2002, Andrew DeFaria wrote:
Peter A. Castro wrote:
On Sun, 24 Nov 2002, Andrew DeFaria wrote:
Peter A. Castro wrote:
What you show below is only linking. I believe you need to
re-compile all of your source with -mno-cygwin -mwindows a
On Mon, 25 Nov 2002, Andrew DeFaria wrote:
> Peter A. Castro wrote:
> > On Sun, 24 Nov 2002, Andrew DeFaria wrote:
> >> Peter A. Castro wrote:
> >>
> >>> What you show below is only linking. I believe you need to
> >>> re-compile all of your source with -mno-cygwin -mwindows as well to
> >>> mak
On Mon, Nov 25, 2002 at 01:16:04PM -0800, Andrew DeFaria wrote:
>So the question now is: How do I satisfy my need for getopt and still
>produce objects without _impure_ptr's?
You find some native windows getopt, of course.
>Ah ha!
Yes. Don't include the cygwin headers when you're compiling wit
Peter A. Castro wrote:
On Sun, 24 Nov 2002, Andrew DeFaria wrote:
Peter A. Castro wrote:
What you show below is only linking. I believe you need to
re-compile all of your source with -mno-cygwin -mwindows as well to
make the _impure_ptr references go away.
But I did re-compile all my sourc
On Sun, 24 Nov 2002, Andrew DeFaria wrote:
> Peter A. Castro wrote:
>
> > What you show below is only linking. I believe you need to re-compile
> > all of your source with -mno-cygwin -mwindows as well to make the
> > _impure_ptr references go away.
>
> But I did re-compile all my sources with -
On Sun, 24 Nov 2002, Max Bowsher wrote:
> Peter A. Castro <[EMAIL PROTECTED]> wrote:
>
> > On Sat, 23 Nov 2002, Max Bowsher wrote:
> >> $ gcc -g foo.c -mno-cygwin -mwindows -o foo -liberty -lmingw32
> >> $ ./foo.exe > x
> >> Hello World 2
> >> $ cat x
> >> Hello World
> >>
> >> How odd. I get the
Peter A. Castro wrote:
What you show below is only linking. I believe you need to re-compile
all of your source with -mno-cygwin -mwindows as well to make the
_impure_ptr references go away.
But I did re-compile all my sources with -mno-cygwin -mwindows! Still
have the error.
/bin/gcc mksf.o
Peter A. Castro <[EMAIL PROTECTED]> wrote:
> On Sat, 23 Nov 2002, Max Bowsher wrote:
>> $ gcc -g foo.c -mno-cygwin -mwindows -o foo -liberty -lmingw32
>> $ ./foo.exe > x
>> Hello World 2
>> $ cat x
>> Hello World
>>
>> How odd. I get the stderr output just fine.
>
> Yes, very interesting. I'll ha
On Sat, 23 Nov 2002, Max Bowsher wrote:
> Peter A. Castro <[EMAIL PROTECTED]> wrote:
>
> > Well, for one thing, linking with -lg will pull in cygwin.dll since
> > /lib/libg.a is a symlink to libcygwin.a. So your program won't be
> > Cygwin-free, if that's your goal. However, I got it to work wi
On Fri, 22 Nov 2002, Andrew DeFaria wrote:
> Peter A. Castro wrote:
> On Fri, 22 Nov 2002, Andrew DeFaria wrote:
>
> I wish to use -mno-cygwin to produce an
> executable that can work without Cygwin
> installed. I have successfully done this before.
>
Peter A. Castro <[EMAIL PROTECTED]> wrote:
> Well, for one thing, linking with -lg will pull in cygwin.dll since
> /lib/libg.a is a symlink to libcygwin.a. So your program won't be
> Cygwin-free, if that's your goal. However, I got it to work with the
> following command:
>
> $ gcc -g foo.c -mn
On Fri, 22 Nov 2002, Andrew DeFaria wrote:
> I wish to use -mno-cygwin to produce an executable that can work without
> Cygwin installed. I have successfully done this before. Now I'm adding
> some functionality to my program and it is no longer working! I've
> worked it out such that it will c
On Fri, Nov 22, 2002 at 08:34:27PM -0500, Christopher Faylor wrote:
>Undoubtedly neither -liberty nor -lg are compiled using -mno-cygwin.
Sorry. That should read "one of or both of -liberty or -lg".
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: ht
On Fri, Nov 22, 2002 at 05:08:33PM -0800, Andrew DeFaria wrote:
>I wish to use -mno-cygwin to produce an executable that can work without
>Cygwin installed. I have successfully done this before. Now I'm adding
>some functionality to my program and it is no longer working! I've
>worked it out suc
19 matches
Mail list logo