Xref: news-dnh.mv.net comp.os.msdos.djgpp:3919 Newsgroups: comp.os.msdos.djgpp Path: news-dnh.mv.net!mv!news.sprintlink.net!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!EU.net!sun4nl!cs.vu.nl!rjvdboon From: rjvdboon AT cs DOT vu DOT nl (Boon van der RJ) Subject: Re: Getting assembler and c source Nntp-Posting-Host: kits.cs.vu.nl References: Sender: news AT cs DOT vu DOT nl Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Date: Mon, 18 Dec 1995 13:44:14 GMT Message-ID: Lines: 31 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Neville Mair - Product Engineering (nev AT joplan DOT ipc DOT com) wrote: > I am using the MS-DOS port of GCC cross-compiled for 68K system. > In playing around with the different compiler option I have gotten an > assembler (file.S) file generated but I cannot repeat it. > How is this normally done ? > I have tried the following command line > cpp -S file.c > Looking at a GNUmanual this should be valid. I get an error saying -S is not > a valid option. Is there something I should set. I guess you should use: gcc -S file.c because cpp only preprocesses file.c (inserts headers, evaluate macros, replace consts, etc) > Is there a way to get an output file containing assembler listing mixed > with the c source? None that I know of, but who am i? > Is there a make (for DOS) that I can run? > Where is it and what is it called? GNU Make, from the same dir you got DJGPP, mak371* for DJGPP 1.12, mak373* for DJGPP V2-beta (you probably won't need the sources, ie mak37?sr.zip) > Thanks In Advance You're welcome Robert.