Xref: news-dnh.mv.net comp.os.msdos.djgpp:3465 Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!news.kei.com!simtel!nntp.coast.net!news00.sunet.se!sunic!news99.sunet.se!mimuw.edu.pl!know From: know AT icm DOT edu DOT pl (Krzysztof Nowinski) Newsgroups: comp.os.msdos.djgpp Subject: dxe libraries Date: 27 Nov 1995 12:21:55 GMT Organization: Division of Mathematics, Informatics and Mechanics, Warsaw University Lines: 35 Nntp-Posting-Host: atol.icm.edu.pl Summary: cannot convert to dxe some subroutines To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp I am trying to build a program for 2D and 3D visualization of functions with the use of .dxe libraries in the style of: "Type in a function" > x*x+y*y Program plots using a .dxe library made of #include float function fct(float x, float y) { return } and compiled by a spawned gcc and dxemake. The problem is that while the expressions containing arithmetic, sin and cos work fine, the expressions containing functions like sqrt or log give rise to a bunch of linking errors concerning (as I suspect) arg error handling. In particular, ld complains about missing _main. Any ideas? (I am using djgpp v.2) Best regards Krzysztof (Chris) S. Nowinski _/_/_/_/ _/_/_/ _/ _/ Warsaw University _/_/ _/_/ _/ _/_/ _/_/ Interdisciplinary Center _/_/ _/_/ _/_/_/ _/_/_/ for Mathematical and _/_/ _/_/ _/ _/_/ _/_/ Computational Modelling _/_/ _/_/ _/ _/ _/_/ Banacha 2 Warsaw, Poland _/_/ _/_/ _/ _/_/ ph (48)(2)6584306 _/_/ _/_/ _/ _/ _/_/ know AT icm DOT edu DOT pl _/_/_/_/ _/_/_/ _/_/_/ _/_/_/_/