home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!news.duc.auburn.edu!eng.auburn.edu!tdukes
- From: tdukes@eng.auburn.edu (Todd J Dukes)
- Subject: EMX link ERRORS
- Message-ID: <tdukes.921118111315@ohm.ee.eng.auburn.edu>
- Followup-To: email
- Sender: usenet@news.duc.auburn.edu (News Account)
- Nntp-Posting-Host: ohm.ee.eng.auburn.edu
- Organization: Auburn University Engineering
- Date: Wed, 18 Nov 1992 17:13:15 GMT
- Lines: 37
-
- I am trying to make the switch to EMX from GCC/2. I read the documentation
- that comes with EMX and am trying to make a simple program I wrote
- when I started using GCC/2. It compiles fine, but when linking there
- are several link errors (I believe it is all of the PM functions).
- I have included my make file below. Does anybody have any suggestions?
-
- Thanks
- Todd
- tdukes@eng.auburn.edu
-
-
- CC=gcc
- CFLAGS=-c -I/TOOLKT20/C/OS2H
-
- OBJS= stdmain.o winproc.o getfile.o process.o
-
- pmdraw.exe: $(OBJS) pmdraw.def pmdraw.res
- gcc -o pmdraw.exe $(OBJS) pmdraw.def pmdraw.res -los2 -lgpp
-
- stdmain.o: stdmain.cc winproc.h
- $(CC) $(CFLAGS) stdmain.cc
-
- winproc.o: winproc.cc winproc.h
- $(CC) $(CFLAGS) winproc.cc
-
- getfile.o: getfile.cc getfile.h
- $(CC) $(CFLAGS) getfile.cc
-
- process.o: process.cc process.h
- $(CC) $(CFLAGS) process.cc
-
- pmdraw.res: pmdraw.rc pmdraw.ico
- rc -r -i \toolkt20\c\os2h pmdraw
-
- clean:
- del *.o *.s *.map *.res *.exe
-
-