delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/30/21:45:39

From: Ryan Casey <rcasey AT bdm DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: RSXNT -Fwin32 option error
Date: Fri, 30 Jan 1998 12:22:00 -0500
Organization: BDM International, Inc.
Lines: 8
Message-ID: <34D20C38.3D76@bdm.com>
Reply-To: rcasey AT bdm DOT com
NNTP-Posting-Host: sky72-160.sky.bdm.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

When trying to compile anything with RSXNT, I get the following error:

gcc.exe: unrecognized option `-Zwin32'

Any ideas?

Thank you
Ryan P. Casey
ining my hline routine in my
>program, but I have defined it like this:

You could always look and see what it is doing.  Just add '-S' to your
compile line
and gcc will stop after it has generated assembly code.  You can look at
this to see if it was
really inlined or not.

>and I compile and link with the -finline-fnuctions flag...

Do you also compile with a -O flags?  I don't think gcc will inline unless
you specify optimization
also.

>Does anybody have an idea how this might happen (the functions that call
>hline() are in the same module)
Does the inline definition come before places that call it?  That is another
possibility, although I don't think stock 2.7.2 has this restriction (you
don't mention what version you use but I'll mention it anyway).

Andy

- Raw text -


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