cinux compiler instructions

2
CINUX COMPILER To be used on fedora and other such LINUX avours which support ex, yacc and gtk packages. FILES INCLUDED- Lexical analysis fle – ex. Syntax + Semantic analysis fle – yacc.y GUI ! window.c Examle fles ! abc.txt, as".c, win.c, test".c, xn.c EXECU!ION INS!RUC!IONS F"# $%CC an& FLEX- I' yacc !d yacc. II. ex ex. III.cc ex.yy.c y.tab.c ! I#. .$a.out !" c"mile (t)*'c tye - % gcc window.c &o ash 'pkg&con(g &&cags && ibs gtk)& ".*' !" # n t,is #"(#am - % .$ash

Upload: vaibhav-sharma

Post on 06-Oct-2015

214 views

Category:

Documents


0 download

DESCRIPTION

gbfgf

TRANSCRIPT

CINUX COMPILERTo be used on fedora and other such LINUX flavours which support flex, yacc and gtk packages.FILES INCLUDED- Lexical analysis file lex.l Syntax + Semantic analysis file yacc.y GUI window.c Example files abc.txt, as2.c, win.c, test2.c, xn.cEXECUTION INSTRUCTIONS For YACC and FLEX-I. yacc d yacc.lII. lex lex.lIII. cc lex.yy.c y.tab.c lflIV. ./a.outTo compile gtk1.c type -$ gcc window.c -o ash `pkg-config --cflags --libs gtk+-2.0`To run this program -$ ./ash