emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using stpcpy


From: Dani Moncayo
Subject: Re: Using stpcpy
Date: Sat, 27 Dec 2014 11:54:02 +0100

> Thanks, but this is a wrong command, so it produced the preprocessed
> source of etags.c, not of ntlib.c.

Ooops, sorry.

> To get the latter, say "make -W ntlib.c ntlib.o" in the lib-src
> directory

It produces this command (prettified a bit):

  gcc -std=gnu99  -c -mtune=pentium4      \
  -I. \
  -I../src \
  -I../lib  \
  -I<srcdir>/lib-src \
  -I<srcdir>/lib-src/../src \
  -I<srcdir>/lib-src/../lib  \
  -mtune=pentium4  -DGLYPH_DEBUG=1 -DUSE_CRT_DLL=1 \
  -I <srcdir>/nt/inc \
  -g3 -O2 -gdwarf-2 <srcdir>/lib-src/ntlib.c

>, then use the command to compile ntlib.c into ntlib.o with
> "-c" replaced by "-E" and "-o ntlib.o" replaced with "-o ntlib.ii".

As you can see above, there is no "-o ntlib.o"; anyway I've added "-o ntlib.ii":

  gcc -std=gnu99  -E -o ntlib.ii -mtune=pentium4      \
  -I. \
  -I../src \
  -I../lib  \
  -I<srcdir>/lib-src \
  -I<srcdir>/lib-src/../src \
  -I<srcdir>/lib-src/../lib  \
  -mtune=pentium4  -DGLYPH_DEBUG=1 -DUSE_CRT_DLL=1 \
  -I <srcdir>/nt/inc \
  -g3 -O2 -gdwarf-2 <srcdir>/lib-src/ntlib.c


> Then send ntlib.ii you get.

See attached.

-- 
Dani Moncayo

Attachment: ntlib.ii.zip
Description: Zip archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]