delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/20/13:55:06

From: kagel AT quasar DOT bloomberg DOT com
Date: Mon, 20 Jan 1997 13:16:24 -0500
Message-Id: <9701201816.AA02812@quasar.bloomberg.com >
To: djgpp AT delorie DOT com
In-Reply-To: <01bc0686$36fa7820$3957f8ce@698130> (dontsend@here.com)
Subject: Re: Libs and dissassembly (again)
Reply-To: kagel AT dg1 DOT bloomberg DOT com

   From: "Craig Flint" <dontsend AT here DOT com>
   Date: 20 Jan 1997 04:01:43 GMT

   I'm new at DJGPP and I coudln't figure out how to compile libs.  As well I

just compile all source with the '-c' option and then use the 'ar' utility
included with DJGPP to create the library:

gcc -c my*.c
ar rvs libmylib.a my*.o

   couldn't figure out how to dissassemble an object file (if it is possible
   in DJGPP) or view the assembly code that DJGPP produces from a C or C++

You can disassemble with objdump.exe for distributed object files or have the
compiler produce assembler listings with the '-S' flag:

gcc -c -S myfile1.c
more <myfile1.S

   file.

   Any help would be very appreciated.

   Please respond on the news group as I no longer have an e-mail address!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019