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 12:46 PM
-n option ravi raj kumar Shell Programming and Scripting 1 01-03-2008 09:20 AM
what is gcc -e option in C useless79 High Level Programming 3 12-05-2007 01:36 PM
su option lesstjm UNIX for Advanced & Expert Users 1 11-02-2005 01:54 PM
-h option Raom UNIX for Advanced & Expert Users 1 10-26-2005 02:19 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-31-2006
kuldeep_bora kuldeep_bora is offline
Registered User
  
 

Join Date: May 2006
Posts: 2
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.
  #2 (permalink)  
Old 05-31-2006
grumpf grumpf is offline
Registered User
  
 

Join Date: May 2006
Posts: 101
what error ?
-ly means link with liby do you have a liby somewhere ?
  #3 (permalink)  
Old 05-31-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,800
liby is the yacc library.... but I agree, what error are you getting?
  #4 (permalink)  
Old 06-02-2006
kuldeep_bora kuldeep_bora is offline
Registered User
  
 

Join Date: May 2006
Posts: 2
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.
  #5 (permalink)  
Old 06-02-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,800
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0