Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.tools > #12

Force gnu assembler to invoke the preprocessor

Date 2011-06-19 12:28 +0200
From Marcel Müller <news.5.maazl@spamgourmet.org>
Newsgroups comp.os.os2.programmer.tools
Subject Force gnu assembler to invoke the preprocessor
Message-ID <4dfdcf49$0$7624$9b4e6d93@newsspool1.arcor-online.net> (permalink)
Organization Arcor

Show all headers | View raw


When i invoke as from gcc 3.3.5 to compile files from libmpg123, e.g. 
dct36_3dnow.S, the preprocessor is not used. The documentation says that 
as invoke the preprocessor if the file extension is an uppercase S. Most 
likely this is broken because OS/2 does not care about the case of file 
names.

Is there any option to force the preprocessor to run?

Currently I patched the make file and invoke the C compiler first, but 
this has several disadvantages.

.S.o:
    gcc -I$(TOPDIR) -DASSEMBLER -E $< -o $<.e
    $(GAS) $(GAFLAGS) $<.e -o $@


Marcel

Back to comp.os.os2.programmer.tools | Previous | NextNext in thread | Find similar


Thread

Force gnu assembler to invoke the preprocessor Marcel Müller <news.5.maazl@spamgourmet.org> - 2011-06-19 12:28 +0200
  Re: Force gnu assembler to invoke the preprocessor "A.D. Fundum" <what.ever@neverm.ind> - 2011-06-19 15:42 +0200
    Re: Force gnu assembler to invoke the preprocessor "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-03 16:46 +0200
      DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) Andreas Schnellbacher <aschn@despammed.com> - 2011-07-04 00:44 +0200
        Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-04 11:09 +0200
          Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-21 22:54 +0200
            Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-24 12:23 +0200
            Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-24 12:32 +0200
  Re: Force gnu assembler to invoke the preprocessor Dave Yeo <dave.r.yeo@gmail.com> - 2011-06-19 11:24 -0700

csiph-web