* Three questions
@ 2004-12-29 15:33 Mikael Åsberg
2004-12-29 15:42 ` Christopher Faylor
0 siblings, 1 reply; 4+ messages in thread
From: Mikael Åsberg @ 2004-12-29 15:33 UTC (permalink / raw)
To: Cygwin List
Hello, I have three questions that aren't related.
First: Is there a cygwin package that will let me compare two binary files
to see if they are equal?
Second: Is there a way to prevent gcc from adding .exe extension when
building programs? I recall hearing something that win98 needs the .exe, but
I can launch programs from within Cygwin under Windows XP Pro just fine
without the extension so if I could get GCC not to add this extension it'd
be great. The reason I want this is that I have to rewrite my Makefiles when
moving projects to-and-from cygwin-fedora.
Third: I tried removing an the .exe-extension from a file by issuing:
$ mv tiny_mdi_example_without_ggdb.exe tiny_mdi_example_without_ggdb
The error I got was:
mv: `tiny_mdi_example_without_ggdb.exe' and `tiny_mdi_example_without_ggdb'
are the same file
So I used Explorer to do it, but I'd like to know how I should get mv to do
this.
Thanks for any replies and may the year 2005 be a prosperous year for you
/ M
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Three questions
2004-12-29 15:33 Three questions Mikael Åsberg
@ 2004-12-29 15:42 ` Christopher Faylor
2004-12-29 19:27 ` Ehud Karni
0 siblings, 1 reply; 4+ messages in thread
From: Christopher Faylor @ 2004-12-29 15:42 UTC (permalink / raw)
To: cygwin
On Wed, Dec 29, 2004 at 04:33:26PM +0100, Mikael ?sberg wrote:
>Hello, I have three questions that aren't related.
>First: Is there a cygwin package that will let me compare two binary files
>to see if they are equal?
diff
>Second: Is there a way to prevent gcc from adding .exe extension when
>building programs? I recall hearing something that win98 needs the .exe,
>but I can launch programs from within Cygwin under Windows XP Pro just fine
>without the extension so if I could get GCC not to add this extension it'd
>be great. The reason I want this is that I have to rewrite my Makefiles
>when moving projects to-and-from cygwin-fedora.
gcc -o foo. foo.c
>Third: I tried removing an the .exe-extension from a file by issuing:
>$ mv tiny_mdi_example_without_ggdb.exe tiny_mdi_example_without_ggdb
$ mv tiny_mdi_example_without_ggdb.exe tiny_mdi_example_without_ggdb.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Three questions
2004-12-29 15:42 ` Christopher Faylor
@ 2004-12-29 19:27 ` Ehud Karni
2004-12-29 19:40 ` Christopher Faylor
0 siblings, 1 reply; 4+ messages in thread
From: Ehud Karni @ 2004-12-29 19:27 UTC (permalink / raw)
To: Mikael Aesberg; +Cc: cygwin
On Wed, 29 Dec 2004 10:44:02 -0500, Christopher Faylor wrote:
>
> >Third: I tried removing an the .exe-extension from a file by issuing:
> >$ mv tiny_mdi_example_without_ggdb.exe tiny_mdi_example_without_ggdb
>
> $ mv tiny_mdi_example_without_ggdb.exe tiny_mdi_example_without_ggdb.
Actually, this does not work (cygwin1.dll 1.5.12(0.116/4/2)), with
the same error as without the extra dot, but the following does work:
$ mv tiny_mdi_example_without_ggdb.exe another-name
$ mv another-name tiny_mdi_example_without_ggdb
no extra dot needed.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /"\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Three questions
2004-12-29 19:27 ` Ehud Karni
@ 2004-12-29 19:40 ` Christopher Faylor
0 siblings, 0 replies; 4+ messages in thread
From: Christopher Faylor @ 2004-12-29 19:40 UTC (permalink / raw)
To: cygwin
On Wed, Dec 29, 2004 at 09:27:40PM +0200, Ehud Karni wrote:
>On Wed, 29 Dec 2004 10:44:02 -0500, Christopher Faylor wrote:
>>
>> >Third: I tried removing an the .exe-extension from a file by issuing:
>> >$ mv tiny_mdi_example_without_ggdb.exe tiny_mdi_example_without_ggdb
>>
>> $ mv tiny_mdi_example_without_ggdb.exe tiny_mdi_example_without_ggdb.
>
>Actually, this does not work (cygwin1.dll 1.5.12(0.116/4/2)), with
>the same error as without the extra dot, but the following does work:
>$ mv tiny_mdi_example_without_ggdb.exe another-name
>$ mv another-name tiny_mdi_example_without_ggdb
>no extra dot needed.
Hmm. Apparently this has been fixed in the latest snapshot. Hopefully
it isn't just a lurking bug but is an actual fix.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-29 19:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-29 15:33 Three questions Mikael Åsberg
2004-12-29 15:42 ` Christopher Faylor
2004-12-29 19:27 ` Ehud Karni
2004-12-29 19:40 ` Christopher Faylor
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).