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
7a9b75b6
Commit
7a9b75b6
authored
Sep 15, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved architecture independent commands to config/winnt/config-nt.sed.
From-SVN: r10365
parent
89724a5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
209 deletions
+11
-209
gcc/config/alpha/config-nt.sed
+5
-106
gcc/config/i386/config-nt.sed
+6
-103
No files found.
gcc/config/alpha/config-nt.sed
View file @
7a9b75b6
...
@@ -23,112 +23,11 @@ tm_file=config/alpha/winnt.h
...
@@ -23,112 +23,11 @@ tm_file=config/alpha/winnt.h
build_xm_file=config/alpha/xm-winnt.h
build_xm_file=config/alpha/xm-winnt.h
/
^
host_xm_file
/
c
\
/
^
host_xm_file
/
c
\
host_xm_file=config/alpha/xm-winnt.h
host_xm_file=config/alpha/xm-winnt.h
/
^
lang_specs_files=
/
d
/
^
####target
/
i
\
/^
la
ng_options_files=/ d
/
^
version=
/
c
\
version=2.7.1
s
/
CC = cc
/
CC = cl
/
s
/
^
SHELL =
.*
/
SHELL =
/
s
/
CFLAGS = -g
/
CFLAGS =
/
s
/
:
\$
/
:
\$
/
g
s
/
<
\
*
\$
(
srcdir
)
\/
/
< $(srcdir)
\\
/
g
s
/
^
\$
(
srcdir
)
\/
move-if-change
/
copy
/
s
/
^
USE_
/
# USE_
/
s
/
`echo
\$
(
srcdir
)
\/
//
g
s
/
| sed 's,
\^\\\.\/
,,'`
//
g
s
/
^
cd
\$
(
srcdir
)[
]
*
;
/
/
/
^
stamp-attrtab
/,/
copy
/
{
/
\\
$
/
d
/
f
i
/d
/
copy
/
i
\
\ genattrtab $(md_file) > tmp-attrtab.c
}
/
^
enquire
[
]
*
:
/
s
/
\$
(
GCC_PARTS
)//
g
/
^
enquire
.
o
[
]
*
:
/
s
/
\$
(
GCC_PASSES
)//
g
/
^
GCC_FOR_TARGET =
/
c
\
GCC_FOR_TARGET = gcc
s
/
;
*
@true
//
/
^
OBJS
.*
stamp-objlist
/
s
?
`cat
..
/stamp-objlist`
?
@../stamp-objlist
?
s
/
^
\(
SUBDIR_OBSTACK
*
=
\)
.*$
/
\1
..
\/
obstack.o
/
s
/
^
\(
SUBDIR_USE_ALLOCA
*
=
\)
.*$
/
\1
/
s
/
^
\(
SUBDIR_MALLOC
*
=
\)
.*$
/
\1
/
/
####target
/
i
\
STMP_FIXPROTO =
\
OTHER_FIXINCLUDES_DIRS=/MSTOOLS/h
\
RANLIB = :
\
RANLIB_TEST = false
\
OLDCC = cl
\
MAKE = make
\
SYMLINK = copy
\
INSTALL = $(srcdir)/install.sh -c
\
exeext = .exe
\
objext = .obj
\
oldobjext = .obj
\
\
CC = cl
\
CC = cl
\
CFLAGS = -Dalpha -DWIN32 -D_WIN32 -DWINNT -D_ALPHA_ \\
\
CLIB = libc.lib kernel32.lib
\
CFLAGS = -Dalpha -DWIN32 -D_WIN32 -D_ALPHA_ -D_M_ALPHA \\
\
-DALMOST_STDC
\
-DALMOST_STDC
\
CLIB = oldnames.lib libc.lib kernel32.lib
\
LDFLAGS = -subsystem:console -entry:mainCRTStartup \\
\
LDFLAGS = -subsystem:console -entry:mainCRTStartup \\
\
-stack:1000000,1000000
\
-stack:1000000,1000
\
\
EXTRA_PROGRAMS=ld.exe
\
\
ld.obj: $(srcdir)/config/winnt/ld.c
\
\ $(CC) $(CFLAGS) \\
\
\ -I. -I$(srcdir) -I$(srcdir)/config -c $(srcdir)/config/winnt/ld.c
\
ld.exe: ld.obj
\
link32 -out:ld.exe ld.obj $(LDFLAGS) $(CLIB)
\
EXTRA_OBJS
=
w
i
nnt.obj
\
winnt.obj: $(srcdir)/config/alpha/winnt.c
\
\ $(CC) $(CFLAGS) \\
\
\ -I. -I$(srcdir) -I$(srcdir)/config -c $(srcdir)/config/alpha/winnt.c
s
/
^
C c:
/
Cc:
/
s
/
\$
{OBJS}
/
\$
(OBJS)
/
g
s
/
\$
{SYSTEM_HEADER_DIR}
/
\$
(SYSTEM_HEADER_DIR)
/
g
s
/
\$
{HOST_CC}
/
\$
(HOST_CC)
/
g
s
/
\$
{srcdir}
\/
/
/
g
s
/
\$
{mainversion}
/
\$
(mainversion)
/
g
s
/
\
$
(
srcdir
)
\/
move-if-change
$
//
s
/
\$
(
srcdir
)
\/
move-if-change
/
copy
/
g
/
^
# USE_HOST_OBSTACK
/
i
\
USE_HOST_OBSTACK=obstack.obj
/
^
# USE_ALLOCA
/
i
\
USE_ALLOCA=alloca.obj
/
^
# USE_HOST_ALLOCA
/
i
\
USE_HOST_ALLOCA=alloca.obj
s
/
^
ALLOCA =
/
ALLOCA = alloca.obj
/
s
/
^
ALLOCA_FINISH = true
/
ALLOCA_FINISH =
/
s
/
\.\/
/
/
s
/
^
bi-
\(
[
a-z
]
*
\)
*
:
/
bi-
\1
.exe :
/
s
/
bi-
\(
[
a-z
]
*
\)
$
/
bi-
\1
.exe
/
s
/
bi-
\(
[
a-z
]
*
\)
/
bi-
\1
.exe
/
g
s
/
^
gen
\(
[
a-z
]
*
\)
*
:
/
gen
\1
.exe :
/
s
/
gen
\(
[
a-z
]
*
\)
$
/
gen
\1
.exe
/
s
/
gen
\(
[
a-z
]
*
\)
/
gen
\1
.exe
/
g
s
/
genmultilib
.
exe
/
genmultilib
/
g
s
/
^
cccp
*
:
/
cccp.exe :
/
s
/
cccp
$
/
cccp.exe
/
s
/
cccp
/
cccp.exe
/
s
/
CCCP=cccp
.
exe
/
CCCP=cccp
/
s
/(
CCCP
)
$
/
(CCCP)$(exeext)
/
s
/
^
cpp
*
:
/
cpp.exe :
/
s
/
cpp
$
/
cpp.exe
/
s
/
cpp
/
cpp.exe
/
s
/
^
cc1
*
:
/
cc1.exe :
/
s
/
cc1
$
/
cc1.exe
/
s
/
cc1
/
cc1.exe
/
s
/
^
cc1obj
*
:
/
cc1obj.exe :
/
s
/
cc1obj
$
/
cc1obj.exe
/
s
/
cc1obj
/
cc1obj.exe
/
s
/
^
xgcc
*
:
/
xgcc.exe :
/
s
/
xgcc
$
/
xgcc.exe
/
s
/
xgcc
/
xgcc.exe
/
s
/
\.
o
*
:
/
.obj :
/
s
/
\.
o
$
/
.obj
/
s
/
\.
o
/
.obj
/
g
s
/
-rm -f cpp
.
exe
/
del cpp.exe
/
s
/
\$
(
CC
)
\$
(
ALL_CFLAGS
)
\$
(
LDFLAGS
)
-o
/
link32 $(LDFLAGS) -out:
/
s
/
\$
(
HOST_CC
)
\$
(
HOST_CFLAGS
)
\$
(
HOST_LDFLAGS
)
-o
/
link32 $(HOST_LDFLAGS) -out:
/
s
/
^
\
//
gcc/config/i386/config-nt.sed
View file @
7a9b75b6
...
@@ -23,113 +23,16 @@ tm_file=config/i386/winnt.h
...
@@ -23,113 +23,16 @@ tm_file=config/i386/winnt.h
build_xm_file=config/i386/xm-winnt.h
build_xm_file=config/i386/xm-winnt.h
/
^
host_xm_file
/
c
\
/
^
host_xm_file
/
c
\
host_xm_file=config/i386/xm-winnt.h
host_xm_file=config/i386/xm-winnt.h
/
^
lang_specs_files=
/
d
/
^
####target
/
i
\
/^
la
ng_options_files=/ d
/
^
version=
/
c
\
version=2.7.1
s
/
CC = cc
/
CC = cl
/
s
/
^
SHELL =
.*
/
SHELL =
/
s
/
CFLAGS = -g
/
CFLAGS =
/
s
/
:
\$
/
:
\$
/
g
s
/
<
\
*
\$
(
srcdir
)
\/
/
< $(srcdir)
\\
/
g
s
/
^
\$
(
srcdir
)
\/
move-if-change
/
copy
/
s
/
^
USE_
/
# USE_
/
s
/
`echo
\$
(
srcdir
)
\/
//
g
s
/
| sed 's,
\^\\\.\/
,,'`
//
g
s
/
^
cd
\$
(
srcdir
)[
]
*
;
/
/
/
^
stamp-attrtab
/,/
copy
/
{
/
\\
$
/
d
/
f
i
/d
/
copy
/
i
\
\ genattrtab $(md_file) > tmp-attrtab.c
}
/
^
enquire
[
]
*
:
/
s
/
\$
(
GCC_PARTS
)//
g
/
^
enquire
.
o
[
]
*
:
/
s
/
\$
(
GCC_PASSES
)//
g
/
^
GCC_FOR_TARGET =
/
c
\
GCC_FOR_TARGET = gcc
s
/
;
*
@true
//
/
^
OBJS
.*
stamp-objlist
/
s
?
`cat
..
/stamp-objlist`
?
@../stamp-objlist
?
s
/
^
\(
SUBDIR_OBSTACK
*
=
\)
.*$
/
\1
..
\/
obstack.o
/
s
/
^
\(
SUBDIR_USE_ALLOCA
*
=
\)
.*$
/
\1
/
s
/
^
\(
SUBDIR_MALLOC
*
=
\)
.*$
/
\1
/
/
####target
/
i
\
STMP_FIXPROTO =
\
OTHER_FIXINCLUDES_DIRS=/MSTOOLS/h
\
RANLIB = :
\
RANLIB_TEST = false
\
OLDCC = cl
\
MAKE = make
\
SYMLINK = copy
\
INSTALL = $(srcdir)/install.sh -c
\
exeext = .exe
\
objext = .obj
\
oldobjext = .obj
\
\
CC = cl
\
CC = cl
\
CFLAGS = -Di386 -DWIN32 -D_WIN32 -DWINNT -D_M_IX86=300 -D_X86_=1 \\
\
CLIB = libc.lib kernel32.lib
\
CFLAGS = -Di386 -DWIN32 -D_WIN32 -D_M_IX86=300 -D_X86_=1 \\
\
-DALMOST_STDC -D_MSC_VER=800
\
-DALMOST_STDC -D_MSC_VER=800
\
CLIB = libc.lib kernel32.lib
\
LDFLAGS = -align:0x1000 -subsystem:console -entry:mainCRTStartup \\
\
LDFLAGS = -align:0x1000 -subsystem:console -entry:mainCRTStartup \\
\
-stack:1000000,1000000
\
-stack:1000000,1000
\
\
EXTRA_PROGRAMS=ld.exe
\
\
ld.obj: $(srcdir)/config/winnt/ld.c
\
\ $(CC) $(CFLAGS) \\
\
\ -I. -I$(srcdir) -I$(srcdir)/config -c $(srcdir)/config/winnt/ld.c
\
\
ld.exe: ld.obj
\
link -out:ld.exe ld.obj $(LDFLAGS) $(CLIB)
\
\
\
EXTRA_OBJS=winnt.obj
\
EXTRA_OBJS=winnt.obj
\
winnt.obj: $(srcdir)/config/i386/winnt.c
\
winnt.obj: $(srcdir)/config/i386/winnt.c
\
\ $(CC) $(CFLAGS) \\
\
\ $(CC) $(CFLAGS) \\
\
\ -I. -I$(srcdir) -I$(srcdir)/config -c $(srcdir)/config/i386/winnt.c
\ -I. -I$(srcdir) -I$(srcdir)/config -c $(srcdir)/config/i386/winnt.c
\
s
/
^
C c:
/
Cc:
/
s
/
\$
{OBJS}
/
\$
(OBJS)
/
g
s
/
\$
{SYSTEM_HEADER_DIR}
/
\$
(SYSTEM_HEADER_DIR)
/
g
s
/
\$
{HOST_CC}
/
\$
(HOST_CC)
/
g
s
/
\$
{srcdir}
\/
/
/
g
s
/
\$
{mainversion}
/
\$
(mainversion)
/
g
s
/
\
$
(
srcdir
)
\/
move-if-change
$
//
s
/
\$
(
srcdir
)
\/
move-if-change
/
copy
/
g
/
^
# USE_HOST_OBSTACK
/
i
\
USE_HOST_OBSTACK=obstack.obj
/
^
# USE_ALLOCA
/
i
\
USE_ALLOCA=alloca.obj
/
^
# USE_HOST_ALLOCA
/
i
\
USE_HOST_ALLOCA=alloca.obj
s
/
^
ALLOCA =
/
ALLOCA = alloca.obj
/
s
/
^
ALLOCA_FINISH = true
/
ALLOCA_FINISH =
/
s
/
\.\/
/
/
s
/
^
bi-
\(
[
a-z
]
*
\)
*
:
/
bi-
\1
.exe :
/
s
/
bi-
\(
[
a-z
]
*
\)
$
/
bi-
\1
.exe
/
s
/
bi-
\(
[
a-z
]
*
\)
/
bi-
\1
.exe
/
g
s
/
^
gen
\(
[
a-z
]
*
\)
*
:
/
gen
\1
.exe :
/
s
/
gen
\(
[
a-z
]
*
\)
$
/
gen
\1
.exe
/
s
/
gen
\(
[
a-z
]
*
\)
/
gen
\1
.exe
/
g
s
/
genmultilib
.
exe
/
genmultilib
/
g
s
/
^
cccp
*
:
/
cccp.exe :
/
s
/
cccp
$
/
cccp.exe
/
s
/
cccp
/
cccp.exe
/
s
/
CCCP=cccp
.
exe
/
CCCP=cccp
/
s
/(
CCCP
)
$
/
(CCCP)$(exeext)
/
s
/
^
cpp
*
:
/
cpp.exe :
/
s
/
cpp
$
/
cpp.exe
/
s
/
cpp
/
cpp.exe
/
s
/
^
cc1
*
:
/
cc1.exe :
/
s
/
cc1
$
/
cc1.exe
/
s
/
cc1
/
cc1.exe
/
s
/
^
cc1obj
*
:
/
cc1obj.exe :
/
s
/
cc1obj
$
/
cc1obj.exe
/
s
/
cc1obj
/
cc1obj.exe
/
s
/
^
xgcc
*
:
/
xgcc.exe :
/
s
/
xgcc
$
/
xgcc.exe
/
s
/
xgcc
/
xgcc.exe
/
s
/
\.
o
*
:
/
.obj :
/
s
/
\.
o
$
/
.obj
/
s
/
\.
o
/
.obj
/
g
s
/
-rm -f cpp
.
exe
/
del cpp.exe
/
s
/
\$
(
CC
)
\$
(
ALL_CFLAGS
)
\$
(
LDFLAGS
)
-o
/
link $(LDFLAGS) -out:
/
s
/
\$
(
HOST_CC
)
\$
(
HOST_CFLAGS
)
\$
(
HOST_LDFLAGS
)
-o
/
link $(HOST_LDFLAGS) -out:
/
s
/
^
\
//
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