Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
59949f60
Commit
59949f60
authored
Mar 16, 1995
by
Per Bothner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for cpplib and building cppmain.
From-SVN: r9192
parent
7f2935c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
gcc/Makefile.in
+23
-4
No files found.
gcc/Makefile.in
View file @
59949f60
...
@@ -492,6 +492,10 @@ OBJS = toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o \
...
@@ -492,6 +492,10 @@ OBJS = toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o \
# them before rtl.o is compiled.
# them before rtl.o is compiled.
GEN
=
genemit genoutput genrecog genextract genflags gencodes genconfig genpeep
GEN
=
genemit genoutput genrecog genextract genflags gencodes genconfig genpeep
CCCP
=
cccp
# Uncomment this line if you want to use cppmain (w/cpplib) as cpp.
#CCCP=cppmain
# Files to be copied away after each stage in building.
# Files to be copied away after each stage in building.
STAGESTUFF
=
*
.o insn-flags.h insn-config.h insn-codes.h
\
STAGESTUFF
=
*
.o insn-flags.h insn-config.h insn-codes.h
\
insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c
\
insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c
\
...
@@ -504,7 +508,7 @@ STAGESTUFF = *.o insn-flags.h insn-config.h insn-codes.h \
...
@@ -504,7 +508,7 @@ STAGESTUFF = *.o insn-flags.h insn-config.h insn-codes.h \
bc-arity.h bc-opcode.h bc-opname.h
\
bc-arity.h bc-opcode.h bc-opname.h
\
stamp-bcarity stamp-bcopcode stamp-bcopname
\
stamp-bcarity stamp-bcopcode stamp-bcopname
\
bi-arity bi-opcode bi-opname
\
bi-arity bi-opcode bi-opname
\
$(GCC_PASSES)
$(EXTRA_PARTS)
$(EXTRA_PROGRAMS)
gcc-cross
cccp
\
$(GCC_PASSES)
$(EXTRA_PARTS)
$(EXTRA_PROGRAMS)
gcc-cross
$(CCCP)
\
cc1obj enquire protoize unprotoize specs collect2
$(USE_COLLECT2)
\
cc1obj enquire protoize unprotoize specs collect2
$(USE_COLLECT2)
\
$(LANG_STAGESTUFF)
$(LANG_STAGESTUFF)
...
@@ -1542,10 +1546,10 @@ bytecode.realclean: bytecode.clean
...
@@ -1542,10 +1546,10 @@ bytecode.realclean: bytecode.clean
# Remake cpp and protoize.
# Remake cpp and protoize.
# Making the preprocessor
# Making the preprocessor
cpp
:
cccp
cpp
:
$(CCCP)
-
rm
-f
cpp
$(exeext)
-
rm
-f
cpp
$(exeext)
ln
cccp
$(exeext)
cpp
$(exeext)
>
/dev/null 2>&1
\
ln
$(CCCP)
$(exeext)
cpp
$(exeext)
>
/dev/null 2>&1
\
||
cp
cccp
$(exeext)
cpp
$(exeext)
||
cp
$(CCCP)
$(exeext)
cpp
$(exeext)
cccp
:
cccp.o cexp.o version.o $(LIBDEPS)
cccp
:
cccp.o cexp.o version.o $(LIBDEPS)
$(CC)
$(ALL_CFLAGS)
$(LDFLAGS)
-o
cccp cccp.o cexp.o version.o
$(LIBS)
$(CC)
$(ALL_CFLAGS)
$(LDFLAGS)
-o
cccp cccp.o cexp.o version.o
$(LIBS)
cexp.o
:
$(srcdir)/cexp.c $(CONFIG_H)
cexp.o
:
$(srcdir)/cexp.c $(CONFIG_H)
...
@@ -1563,6 +1567,21 @@ cccp.o: cccp.c $(CONFIG_H) pcp.h version.c config.status
...
@@ -1563,6 +1567,21 @@ cccp.o: cccp.c $(CONFIG_H) pcp.h version.c config.status
-DTOOL_INCLUDE_DIR
=
\"
$(tooldir)
/include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(tooldir)
/include
\"
\
-c
`
echo
$(srcdir)
/cccp.c | sed
's,^\./,,'
`
-c
`
echo
$(srcdir)
/cccp.c | sed
's,^\./,,'
`
cppmain
:
cppmain.o cpplib.o cpphash.o cppalloc.o cpperror.o cppexp.o
\
version.o $(LIBDEPS)
$(CC)
$(ALL_CFLAGS)
$(LDFLAGS)
-o
cppmain
\
cppmain.o cpplib.o cpphash.o cppalloc.o cpperror.o cppexp.o
\
version.o
$(LIBS)
cpplib.o
:
cpplib.c $(CONFIG_H) pcp.h version.c config.status
$(CC)
$(ALL_CFLAGS)
$(ALL_CPPFLAGS)
$(INCLUDES)
\
-DGCC_INCLUDE_DIR
=
\"
$(libsubdir)
/include
\"
\
-DGPLUSPLUS_INCLUDE_DIR
=
\"
$(gxx_include_dir)
\"
\
-DLOCAL_INCLUDE_DIR
=
\"
$(includedir)
\"
\
-DCROSS_INCLUDE_DIR
=
\"
$(libsubdir)
/sys-include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(tooldir)
/include
\"
\
-c
`
echo
$(srcdir)
/cpplib.c | sed
's,^\./,,'
`
# Note for the stamp targets, we run the program `true' instead of
# Note for the stamp targets, we run the program `true' instead of
# having an empty command (nothing following the semicolon).
# having an empty command (nothing following the semicolon).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment