This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question C compiler


Yes, gcc is a C/C++ compiler (among other languages). There are many
variations of it, for various platforms and OSs, depending on what you want
to do with it. If you're using Windows 98, you'll either want to check out
DJGPP, a DOS port (www.delorie.com), or CygWin (www.cygwin.com), a Win32
port, or even LCC (which isn't actually gcc, but it's similar, and creates
Win32 programs as well - www.cs.virginia.edu/~lcc-win32).

Hope that helps,
Rudy

> I read some material.  I don't understand some stuff.
>
> Is gcc a C compiler?  Does it run in Windows 98?  What's wrong with what I
> did?
>
> I tried to compile a simple program like this:
> gcc  myc/ruler.c
>
> When I ran the .exe, I got the following error:
>
> ruler.exe caused an invalid page fault in
> module MSVCRT.DLL at 0167:780034a0.
> Registers:
> EAX=02660594 CS=0167 EIP=780034a0 EFLGS=00010246
> EBX=00530000 SS=016f ESP=0253fd94 EBP=0253fdd8
> ECX=00401450 DS=016f ESI=8179667c FS=37ef
> EDX=00000000 ES=016f EDI=00000000 GS=0000
> Bytes at CS:EIP:
> 0f b6 07 8b 0d a8 71 03 78 8a 04 41 83 e0 08 85
> Stack dump:
> 00000000 8179667c 0253fdd8 00530000 7800c7db 00000000 00401354 00000000
> 00402004 0253fdd8 00401343 0253fde4 8176037f 0253fe18 780042f4 00010000
>
>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.298 / Virus Database: 161 - Release Date: 11/13/2001


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]