www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/20/17:16:22

Xref: news-dnh.mv.net comp.os.msdos.djgpp:3961
Path: news-dnh.mv.net!mv!news.sprintlink.net!europa.chnt.gtegsc.com!news.kreonet.re.kr!overload.lbl.gov!lll-winken.llnl.gov!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!howland.reston.ans.net!news.nic.surfnet.nl!tuegate.tue.nl!snail.stack.urc.tue.nl!jan
From: jan AT stack DOT urc DOT tue DOT nl (Jan Oonk)
Newsgroups: comp.os.msdos.djgpp
Subject: Passing assembler options from the C source!?
Date: 19 Dec 1995 14:18:01 GMT
Organization: MCGV Stack, Eindhoven University of Technology, the Netherlands.
Lines: 20
Message-ID: <4b6hip$6et@tuegate.tue.nl>
NNTP-Posting-Host: snail.stack.urc.tue.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

How can I pass options for the assembler from within my source code?
For example:
source:
<tell the compiler to do for example -O2 for the following lines>

code

<tell the compiler to do for example -O1 or any other option>

code

end of code

Is this possible? I think it ought to be! If you can give command line
options to the assembler (nothing more than options for the whole source
file) than it must be possible to give options to parts of code instead of
the whole source=commandline option !?!?!?

CU! Thanks in advance...
Please (also) email your replys!

- Raw text -


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