[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
ntlib.ii.zip
Description: Zip archive
- Re: Using stpcpy, (continued)
- Re: Using stpcpy, Paul Eggert, 2014/12/25
- Re: Using stpcpy, Dmitry Antipov, 2014/12/25
- Re: Using stpcpy, Paul Eggert, 2014/12/25
- Re: Using stpcpy, Dani Moncayo, 2014/12/26
- Re: Using stpcpy, Eli Zaretskii, 2014/12/26
- Re: Using stpcpy, Dani Moncayo, 2014/12/26
- Re: Using stpcpy, cg, 2014/12/27
- Re: Using stpcpy, Eli Zaretskii, 2014/12/27
- Re: Using stpcpy, Dani Moncayo, 2014/12/27
- Re: Using stpcpy, Eli Zaretskii, 2014/12/27
- Re: Using stpcpy,
Dani Moncayo <=
- Re: Using stpcpy, cg, 2014/12/27
- Re: Using stpcpy, Eli Zaretskii, 2014/12/27
- Re: Using stpcpy, David Engster, 2014/12/27
- Re: Using stpcpy, Eli Zaretskii, 2014/12/27
- Re: Using stpcpy, Eli Zaretskii, 2014/12/27
- Re: Using stpcpy, David Engster, 2014/12/27
- Re: Using stpcpy, Eli Zaretskii, 2014/12/27
- Re: Using stpcpy, Richard Stallman, 2014/12/28