🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3020

EMX link ERRORS

#3020
From: Todd J Dukes
Date: Wed, 18 Nov 1992 17:13
36 lines
1447 bytes
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
Technical Details
Message-ID: <tdukes.921118111315@ohm.ee.eng.auburn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!news.duc.auburn.edu!eng.auburn.edu!tdukes

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!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