🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #756

DUM math question for DJGPP GCC

#756
From: Harry Boumeester
Date: Tue, 15 Dec 1992 18:59
5 lines
703 bytes
I am just trying DJGPP GCC  with a small program that has cos as part of the
program.  After trying to compile with 'GCC -lm  dum.c' I get the error
undefined symbol _cos referenced from text segment.  I have a 387 coprocessor
,have SET 387=YES and the LIBRARY_PATH is set to where LIBM.A is.
WHAT AM I DOING WRONG?.
Technical Details
Message-ID: <92350.135955BOUMEEST@QUCDN.QueensU.CA>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!qucdn!boumeest

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!qucdn!boumeest
Organization: Queen's University at Kingston
Date: Tue, 15 Dec 1992 13:59:55 EST
From: Harry Boumeester <BOUMEEST@QUCDN.QueensU.CA>
Message-ID: <92350.135955BOUMEEST@QUCDN.QueensU.CA>
Newsgroups: gnu.gcc.help
Subject: DUM math question for DJGPP GCC
Lines: 5