delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/05/10/03:08:24

From: tyen AT mundo DOT eco DOT utexas DOT edu (Anthony Yen)
Date: Sun, 10 May 1992 01:48:47 -0500
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Please Send FAQ
Status: O

Hello all, I'm new to the list and would like someone to please send
me a FAQ.  To help keep lines from clogging with redundant
information, please ignore this message if you receive it after 0900
Monday, May 11, 1992 (your local time).  This will also help me avoid
having to send out a "stop sending replies" message.

As long as I'm on the subject of FAQs, if my experience below is not
in the FAQ, could someone please clue me in?

I've tried to compile the following simple hello.c:

        #include <stdio.h>
        #include <pc.h>

        main () {
          ScreenClear();
          printf("Hello world!\n");
        }

The command line invocation was:

        gcc -lpc hello.c

The linker returns:

        hello.c: Undefined symbol _ScreenClear referenced from text\
segment.

In short, I can't seem to link against anything other than the stdio
library.  The baseline case of the classic Hello World program works.
I've looked through both the on-line documentation for djgpp and FSF,
as well as the paper documentation from the FSF (merely a duplication
of the on-line docs, but just in case...), on both the Gnuish and GNU
distributions (I work on a SPARCstation during the day), and can't
find any listing of diagnostics.

This is all stemming from working on the contrib'd curses library; I
would like to make it more robust, add full System V capabilities if
it doesn't have them already (it doesn't appear to), and toss in
texinfo documentation.  Unfortunately, because either I missed
something and/or am totally clueless, I can't link to anything outside
of stdio.

Thanks in advance,

 ____ 
  /ony Yen - tyen AT mundo DOT eco DOT utexas DOT edu ... Sail tough
SPARC SysAdmin - UT/Austin - Economics            or go home ... Kowabunga! ...


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019