From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: How do you compile an .s file? Date: Tue, 05 Nov 1996 13:00:21 +0100 Organization: TU Chemnitz-Zwickau Lines: 17 Message-ID: <327F2C55.26B3@Mathematik.tu-chemnitz.de> References: <55lvdd$brm AT pulp DOT ucs DOT ualberta DOT ca> NNTP-Posting-Host: tantalus-e.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gorman AT gpu DOT srv DOT ualberta DOT ca DJ-Gateway: from newsgroup comp.os.msdos.djgpp Gorman wrote: > > when I type: gcc -I. -Isrc -Wall -o MyFunc.o -c MyFunc.s You are using macros in your source, which need to run trough cpp, which is not done automaticaly. You must tell it gcc to run the file at first trough cpp.exe giving you source files an upper case S as suffix. Try gcc -I. -Isrc -Wall -o MyFunc.o -c MyFunc.S Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************