delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/27/12:45:31

Message-ID: <3B61999B.6715A67B@hotmail.nospam.com>
From: Ian Rees <ianr44 AT hotmail DOT nospam DOT com>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: .mak files
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010726095348 DOT 28739I-100000 AT is> <996140448 DOT 528135 AT queeg DOT ludd DOT luth DOT se> <3B607842 DOT 1350BDEA AT hotmail DOT nospam DOT com> <3B60BD40 DOT 475957DD AT hotmail DOT nospam DOT com> <7263-Fri27Jul2001115339+0300-eliz AT is DOT elta DOT co DOT il>
Lines: 27
Date: Fri, 27 Jul 2001 12:40:59 -0400
NNTP-Posting-Host: 63.80.121.39
X-Trace: eagle.america.net 996252063 63.80.121.39 (Fri, 27 Jul 2001 12:41:03 EDT)
NNTP-Posting-Date: Fri, 27 Jul 2001 12:41:03 EDT
Organization: 24hoursupport.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I discovered that I needed to use an .S instead of an .s, based on the
number of errors received when I tried to use .s.  Now, when I compile the
program, I get a list of warnings (No Errors!!!) There are basically two,
the first is:

com.c:2514 warning: ignoring pragma:argsused
          ^^^^
    The other one is the same, but for line 2555

The warning that has me confused is:
d:/djgpp/tmp\ccCdyapr.s: Assembler messages:
d:/djgpp/tmp\ccCdyapr.s:41: Warning: indirect ljmp without '*'
                                      ^^
    There are warnings for line number 41-56 with exactly the same
message.

Now, because the above .s file is temporary, how can I tell what it is
doing? If it would help, I can include the origional.S file.  I think that
the warnings may be unimportant because the program compiles and appears
to be working, except that it can't open the com port (it reports that
there is no UART at the specified address)  The only reason that I mention
the warnings is because I don't know any assembly and thought that they
could be important? Thanks for all of the help so far!

                                                        -Ian-


- Raw text -


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