www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/03/10:00:19

Posted-Date: Mon, 3 May 93 8:49:50 CDT
From: johnh AT CFSMO DOT Honeywell DOT COM (John Happe)
Subject: Math Library on 486DX33
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Mon, 3 May 93 8:49:50 CDT
Mailer: Elm [revision: 64.9]

Hello,

I have recently downloaded the latest versions of the djgpp compiler,
assembler, and developement environment (djgcc222, djgas138, and djdev109)
and installed them according to the instructions provided.  All files were
unzipped into their normal locations and environment variables were set
accordingly.

I attempted to compile some old programs which use "sin" and "cos" from
the math library using gcc.  I used the command line options "-lc -lm -m486"
and included <stdio.h> and <math.h> in my program.  I receive the error
"Unable to find _sin from proj1.o text file" (or something similar) when I
try to compile the program.

Can someone tell me what I may be doing wrong, or if there are other 
command-line options needed to run using a 486?

Jonathan Happe
johnh AT cfsmo DOT honeywell DOT com


- Raw text -


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