gcc or g77 in MS Windows
Colin Douglas Howell
chowell2@pacbell.net
Fri Aug 1 18:11:00 GMT 2003
Tiwary, Rajiv wrote:
> Thanks for your reply. I happen to have a reason for doing so. In
my > case the program's function is to operate on a data file.
Currently I > have to keep on deleting the existing data file and
copying the new
> data file to the position pointed at by the program. A simple menu
> choice would have made life simpler for me.
It sounds like you need to rewrite your program, then.
Your original question was unclear. gcc and g77 are programming
language compilers, nothing more. However, code compiled with them is
free to call on the services of the operating system. What you really
want to know, I think, is "How can I call on Windows services from a
program compiled with gcc or g77?" That depends on what environment
you are running the compilers under, for example, Cygwin, Mingw, or
DJGPP. For more information on these environments, check the following
websites:
http://cygwin.com/
http://www.mingw.org/
http://www.delorie.com/djgpp/
Since this question is really about calling operating system services,
it is actually not appropriate either for the gcc mailing list or for
any of the other lists associated with gcc, like gcc-help. The gcc
mailing list is about the development of the compiler itself, and
gcc-help is about questions using the compiler, not calling on the OS.
> -----Original Message-----
> From: Philipp Thomas [mailto:pthomas@suse.de]
> Sent: Friday, August 01, 2003 11:17 AM
> To: Tiwary, Rajiv
> Cc: gcc@gcc.gnu.org
> Subject: Re: gcc or g77 in MS Windows
>
>
> * Tiwary, Rajiv (tiwary@ppg.com) [20030801 16:07]:
> In a Microsoft Windows environment when a file needs to be opened,
> is it possible for either gcc or g77 to interactively prompt for file
> as windows programs do?
>
> No, it's not possible and frankly I don't see any reason why they should.
> gcc and g77 are compilers and not some interactive program like an editor.
>
> Philipp
>
More information about the Gcc
mailing list