delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/04/11:55:46

Date: Fri, 4 Jun 93 11:34:35 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: xjzhu AT math DOT uwaterloo DOT ca
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: problems with djgpp1.10 (fwd)

> > When I try to compile the following very simple program, the compiler
> > generates the following message:(command line: gcc -x c++ test.c)

(1) you should name the file "test.cc"

(2) you should use the command "gcc test.cc -lpc -lgpl".  Basically,
you forgot to tell the compiler to link the libraries.

- Raw text -


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