home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!rutgers!fdurt1.fdu.edu!wisdom.bubble.org!chsdip!chsdip!groo
- From: groo@chsdip.wisdom.bubble.org (Bill Squier)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Need help linking math library in makefile.
- Message-ID: <DyCpr*fY0@chsdip.wisdom.bubble.org>
- Date: 26 Jul 92 12:24:55 GMT
- References: <14q1dkINNob2@darkstar.UCSC.EDU>
- Organization: Dragonsoft Development
- Lines: 27
- X-Newsreader: Arn V1.00 beta rel2
-
- In article <14q1dkINNob2@darkstar.UCSC.EDU>, Brian Matthew Aljian writes:
-
- >
- > I'm having a problem getting my floating point code to work when I use a
- > makefile to compile/link it. For example, here's a little program (call it
- > "prog1.c"):
- >
- > [...code deleted...]
- >
- > But, if I use the following makefile to compile and link it (formatted to make
- > it easier to read):
- >
- > prog1 : prog1.o
- > blink FROM lib:c.o+prog1.o TO prog1 LIB LIB:lc.lib+LIB:amiga.lib+
- > LIB:lcm.lib
-
- Include LIB:lcm.lib _before_ LIB:lc.lib in your link line.
-
- eg,
-
- blink FROM lib:c.o+prog1.o TO prog1 LIB LIB:lcm.lib+LIB:lc.lib+\
- LIB:amiga.lib
-
-
- ----------------------------------------------------------------------
- "Stimpy, sometimes your wealth of ignorance astounds me." -ren hoek
- Bill Squier (groo@chsdip.wisdom.bubble.org) MetaMail capable
-