delorie.com/archives/browse.cgi | search |
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:1135 |
Path: | news-dnh.mv.net!mv!news.sprintlink.net!europa.chnt.gtegsc.com!news.mathworks.com!news.duke.edu!agate!news.ucdavis.edu!wheel!elric |
From: | elric AT wheel DOT dcn DOT davis DOT ca DOT us (Jeffrey Taylor) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Problems for linking "libpc.a" |
Date: | 24 Jul 1995 19:02:00 GMT |
Organization: | Davis Community Network - Davis, California, USA |
Lines: | 21 |
References: | <DC8AIM DOT C11 AT jade DOT mv DOT net> |
Nntp-Posting-Host: | wheel.dcn.davis.ca.us |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp |
goncalves AT if DOT usp DOT br wrote: : Hi, <snip> : I cannot use functions from the "libpc.a" library. For instance, for a test : I used the following parameters for compilation: : gcc -lpc t.c -o t : and I got the following error message: try putting the library option last, e.g., gcc t.c -lpc -o t The linker is sort of one pass and unresolved references can get pixky about the order of object and libraries. -- ===================================== Jeff T "Blues with a feeling... =====================================
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |