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
bb5d01e5
Commit
bb5d01e5
authored
Feb 21, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to Windows NT 3.5.
From-SVN: r9000
parent
8b109b37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
11 deletions
+34
-11
gcc/config/i386/config-nt.sed
+34
-11
No files found.
gcc/config/i386/config-nt.sed
View file @
bb5d01e5
#/\.o[ ]*:/ s/config.status//
s
/
|| cp
/
|| copy
/
s
/
rm -f
/
del
/
/
^
Makefile
/,/
^
$
(
SHELL
)
config
.
run
/
d
/^
c
onfig.status/,/ fi/d
s
/
config
.
status
//
g
s
/
\/
dev
\/
null
/
NUL
/
g
s
/
$
(
srcdir
)
\/
c-parse
/
c-parse
/
g
s
/
$
(
srcdir
)
\/
c-gperf
/
c-gperf
/
g
/
^
multilib
.
h
/
s
/
multilib
/
not-multilib
/
/
^
multilib
.
h
/
s
/
multilib
/
not-multilib
/
/
^
target=
/
c
\
/
^
target=
/
c
\
target=winnt3.
1
target=winnt3.
5
/
^
xmake_file=
/
d
/
^
xmake_file=
/
d
/^tm
a
ke_file=/ d
/^tm
a
ke_file=/ d
/
^
version=
/
c
\
/
^
version=
/
c
\
version=2.6.
1
version=2.6.
2
s
/
CC = cc
/
CC = cl
/
s
/
CC = cc
/
CC = cl
/
s
/
^
SHELL =
.*
/
SHELL =
/
s
/
CFLAGS = -g
/
CFLAGS =
/
s
/
CFLAGS = -g
/
CFLAGS =
/
s
/
:
\$
/
:
\$
/
g
s
/
:
\$
/
:
\$
/
g
s
/
<
\
*
\$
(
srcdir
)
\/
/
< $(srcdir)
\\
/
g
s
/
<
\
*
\$
(
srcdir
)
\/
/
< $(srcdir)
\\
/
g
...
@@ -31,17 +39,33 @@ s/^\(SUBDIR_OBSTACK *=\).*$/\1 ..\/obstack.o/
...
@@ -31,17 +39,33 @@ s/^\(SUBDIR_OBSTACK *=\).*$/\1 ..\/obstack.o/
s
/
^
\(
SUBDIR_USE_ALLOCA
*
=
\)
.*$
/
\1
/
s
/
^
\(
SUBDIR_USE_ALLOCA
*
=
\)
.*$
/
\1
/
s
/
^
\(
SUBDIR_MALLOC
*
=
\)
.*$
/
\1
/
s
/
^
\(
SUBDIR_MALLOC
*
=
\)
.*$
/
\1
/
/
####target
/
i
\
/
####target
/
i
\
EXTRA_PROGRAMS="ld-winnt.exe"
\
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
\
CFLAGS = -Di386 -DWIN32 -D_WIN32 -DWINNT -D_M_IX86=300 -D_X86_=1 \\
\
-DALMOST_STDC -D_MSC_VER=800
\
CLIB = libc.lib kernel32.lib
\
LDFLAGS = -align:0x1000 -subsystem:console -entry:mainCRTStartup \\
\
-stack:1000000,1000000
\
\
EXTRA_PROGRAMS=ld.exe
\
\
\
ld.obj: $(srcdir)/config/winnt/ld.c
\
ld.obj: $(srcdir)/config/winnt/ld.c
\
cl -D_SYSV -DWINNT -D_M_IX86_ -D_X86_ -D__STDC__=0 -DALMOST_STDC
\\
\
$(CC) $(CFLAGS)
\\
\
-I. -I$(srcdir) -I$(srcdir)/config -c $(srcdir)/config/winnt/ld.c
\
-I. -I$(srcdir) -I$(srcdir)/config -c $(srcdir)/config/winnt/ld.c
\
\
\
ld-winnt.exe: ld.obj
\
ld.exe: ld.obj
\
link32 -align:0x1000 -subsystem:console -entry:mainCRTStartup \\
\
link32 -out:ld.exe ld.obj $(LDFLAGS) $(CLIB)
-stack:1000000,1000000 -out:ld-winnt.exe ld.obj libc.lib kernel32.lib
\
copy ld-winnt.exe ld.exe
/
####host
/
r
config/i386/x-winnt
s
/
^
C c:
/
Cc:
/
s
/
^
C c:
/
Cc:
/
s
/
\$
{OBJS}
/
\$
(OBJS)
/
g
s
/
\$
{OBJS}
/
\$
(OBJS)
/
g
s
/
\$
{SYSTEM_HEADER_DIR}
/
\$
(SYSTEM_HEADER_DIR)
/
g
s
/
\$
{SYSTEM_HEADER_DIR}
/
\$
(SYSTEM_HEADER_DIR)
/
g
...
@@ -85,7 +109,6 @@ s/\.o *:/.obj :/
...
@@ -85,7 +109,6 @@ s/\.o *:/.obj :/
s
/
\.
o
$
/
.obj
/
s
/
\.
o
$
/
.obj
/
s
/
\.
o
/
.obj
/
g
s
/
\.
o
/
.obj
/
g
s
/
-rm -f cpp
.
exe
/
del cpp.exe
/
s
/
-rm -f cpp
.
exe
/
del cpp.exe
/
s
/
ln cccp
.
exe cpp
.
exe
/
copy cccp.exe cpp.exe
/
s
/
\$
(
CC
)
\$
(
ALL_CFLAGS
)
\$
(
LDFLAGS
)
-o
/
link32 $(LDFLAGS) -out:
/
s
/
\$
(
CC
)
\$
(
ALL_CFLAGS
)
\$
(
LDFLAGS
)
-o
/
link32 $(LDFLAGS) -out:
/
s
/
\$
(
HOST_CC
)
\$
(
HOST_CFLAGS
)
\$
(
HOST_LDFLAGS
)
-o
/
link32 $(HOST_LDFLAGS) -out:
/
s
/
\$
(
HOST_CC
)
\$
(
HOST_CFLAGS
)
\$
(
HOST_LDFLAGS
)
-o
/
link32 $(HOST_LDFLAGS) -out:
/
s
/
^
\
//
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