The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
option followed by : taking next option if argument missing with getopts gurukottur Shell Programming and Scripting 2 03-17-2008 08:46 AM
-n option ravi raj kumar Shell Programming and Scripting 1 01-03-2008 05:20 AM
what is gcc -e option in C useless79 High Level Programming 3 12-05-2007 09:36 AM
su option lesstjm UNIX for Advanced & Expert Users 1 11-02-2005 09:54 AM
-h option Raom UNIX for Advanced & Expert Users 1 10-25-2005 10:19 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-30-2006
Registered User
 

Join Date: May 2006
Posts: 2
Stumble this Post!
cc option

my yacc output file y.tab.c is not compiling using cc y.tab.c -ly command
.possibily option flag -ly is not correct.i m using red hat linux 9.please give solutions.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-31-2006
Registered User
 

Join Date: May 2006
Posts: 95
Stumble this Post!
what error ?
-ly means link with liby do you have a liby somewhere ?
Reply With Quote
  #3 (permalink)  
Old 05-31-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,794
Stumble this Post!
liby is the yacc library.... but I agree, what error are you getting?
Reply With Quote
  #4 (permalink)  
Old 06-01-2006
Registered User
 

Join Date: May 2006
Posts: 2
Stumble this Post!
cc option

the compiler generates the output:cannot recognise -ly.
probably there is some another flag in red-hat 9.Although, -ll option
for lex o/p file lex.yy.c works.
Reply With Quote
  #5 (permalink)  
Old 06-02-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,794
Stumble this Post!
liby.<whatever> is a pretty standard name for this library - where <whatever> is
something like .so .sl .1, etc.

See if liby.* exists in usr/lib
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0