www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/10/10:14:03

Date: Fri, 10 Dec 1993 07:44:54 -0700
From: tesla AT lamar DOT ColoState DOT EDU (Jon Nash)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Difficulty in Compiling With 1.11

Hello, I have a C++ program which uses complex numbers.  I compiled with
1.09 with the line

  gcc foo.cc -o foo -lgcc -lm -lpc

With 1.11 I imagined that I should use the line

  gcc foo.cc -o foo -lgpp -lgpl -lm -lpc

However, when I do compile it this way I get a load of errors saying that
(for instance) Complex::~Complex() in text is undefined.

This seems like a typical linker problem, which means my command line is
probably wrong, but I don't know what to do different.

Thank you for your help!

Jon Nash
Tesla AT Lamar DOT ColoState DOT EDU

- Raw text -


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