11-29-2012
Do not post classroom or homework problems in the main forums.
Homework and coursework questions can only be posted in this forum under special homework rules.
Please review the
rules, which you agreed to when you registered, if you have not already done so.
More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.
If you did post homework in the main forums, please review the
guidelines for posting homework and repost.
Thank You.
The UNIX and Linux Forums.
9 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Does anyone know of a Good perl compiler for windows ? i have searched google.com and a few other search engines but they havent turned up anything good. Any and all help would be appreciated (3 Replies)
Discussion started by: JeZzTeR
3 Replies
2. Windows & DOS: Issues & Discussions
Hi,
Does anyone know any compilers that will do Microsoft Basic files and make them .exe files.
Thanks :D (1 Reply)
Discussion started by: jacx2
1 Replies
3. UNIX for Dummies Questions & Answers
How can I find out what C++ compilers are available on my system?
Thanks in advance (7 Replies)
Discussion started by: HelpMeIAmLost
7 Replies
4. AIX
Hi,
While trying to configure Apache Web Server on P630 Server i am getting the below message
"Creating Makefile in src
+ configured for AIX 5.2 platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated"
when i did a "lslpp -l... (2 Replies)
Discussion started by: cherryven
2 Replies
5. Programming
Hello Gurus,
i am ok with the concepts of c language but i would like to know
more about the internals of c with respect to the compilers
what happens when we say
gcc filename.c
the a.out will get created(what actaully compiler does to the code inaddition to generating object code)
... (5 Replies)
Discussion started by: MrUser
5 Replies
6. Programming
i have windows 7 64bit, and i want to program C in it, i have the eclipse for C, but it wont work because i have no C compilers , where do i get a C compiler, so eclipse will work?
I usually transfer to a unix server and use a command
gcc -Wall -g -o ___ ___
where can i get the gcc C... (5 Replies)
Discussion started by: omega666
5 Replies
7. AIX
Hi Guys,
I want to know what are the different C compilers are available on AIX like cc, gcc etc.
Appreciate your help.
Regards,
Srikanth:) (1 Reply)
Discussion started by: ysrikanth
1 Replies
8. Programming
I have g++-4.6 and g++-4.8.2 installed on my system and want to build a suite of programs using each one.
I am thinking putting the option on what to build by having a different target, one for g++-4.6 and another target for g++-4.8.2.
What do you think? (1 Reply)
Discussion started by: kristinu
1 Replies
9. Solaris
I have a SPARC server with Solaris SPARC 10 OS installed
I am trying to compile source code from VLC media player and PHP 7 tarballs
However the stumbling block I encounter is that when I type in ./configure into my PUTTY terminal the GCC compiler tells me halfway through configuration that... (3 Replies)
Discussion started by: alphatron150
3 Replies
LEX(1) General Commands Manual LEX(1)
NAME
lex - generator of lexical analysis programs
SYNOPSIS
lex [ -tvfn ] [ file ] ...
DESCRIPTION
Lex generates programs to be used in simple lexical analyis of text. The input files (standard input default) contain regular expressions
to be searched for, and actions written in C to be executed when expressions are found.
A C source program, `lex.yy.c' is generated, to be compiled thus:
cc lex.yy.c -ll
This program, when run, copies unrecognized portions of the input to the output, and executes the associated C action for each regular
expression that is recognized.
The following lex program converts upper case to lower, removes blanks at the end of lines, and replaces multiple blanks by single blanks.
%%
[A-Z] putchar(yytext[0]+'a'-'A');
[ ]+$
[ ]+ putchar(' ');
The options have the following meanings.
-t Place the result on the standard output instead of in file `lex.yy.c'.
-v Print a one-line summary of statistics of the generated analyzer.
-n Opposite of -v; -n is default.
-f `Faster' compilation: don't bother to pack the resulting tables; limited to small programs.
SEE ALSO
yacc(1)
M. E. Lesk and E. Schmidt, LEX - Lexical Analyzer Generator
LEX(1)