Copmiling w/gcc under Solaris 2.3 (w/lex & yacc)

Copmiling w/gcc under Solaris 2.3 (w/lex & yacc)

Post by Brian Burke x083 » Fri, 24 Dec 1993 08:56:53



I'm trying to compile a program using Solaris 2.3.  I've been developing this
program under 4.1.2 and the makefile has worked fine.  Under solaris, it
seems that alot of the standard function are not being linked, unless I
put all kinds of -l(lib) in my ld command (-lc -lnsl -lintl etc.)  Is this
normal?
Also, I have a lex/yacc program which is expecting an extern FILE *yyin.
How can this external be satisfied? (I have -ll -ly in my ld and those libs
are being found in /usr/ccs/lib)

Thanks
-Brian

 
 
 

1. C++, LEX & YACC on Solaris 2.5.1

I am going to use C++ 4.2 on Solaris 2.5.1. Can
you please tell me

    1). whether LEX & YACC on Sun would generate C++
        code which could be compiled with C++ 4.2 ?

    2). what version of LEX & YACC on Solaris 2.5.1 ?

Thanks

Yao

2. Socks5

3. Where can I get origianl AT&T lex & yacc source?

4. UNIX FILES SYSTEMS TAKE TWO

5. Wanted - additional tutorials & documentation on Lex & Yacc

6. ioremap question

7. Compiling Pine 3.91 under Solaris 2.3 & gcc 2.6.1 (SS20)

8. Pine 4.21 and Newsgroup Posting....

9. Solaris 2.3 & gcc pkg HELP!

10. Help with yacc/lex and gcc....

11. YACC & LEX under Microsoft Windows

12. The Lex & Yacc source code for C++

13. LEX/YACC & Imake