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
d9daaee8
Commit
d9daaee8
authored
Apr 09, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to handle current Makefile and new config/i386/go32.h.
From-SVN: r4058
parent
5f12e361
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
gcc/configure.bat
+15
-3
No files found.
gcc/configure.bat
View file @
d9daaee8
...
@@ -4,7 +4,7 @@ rem This batch file assumes a unix-type "sed" program
...
@@ -4,7 +4,7 @@ rem This batch file assumes a unix-type "sed" program
update config\i386\xm-dos.h config.h
update config\i386\xm-dos.h config.h
update config\i386\xm-dos.h hconfig.h
update config\i386\xm-dos.h hconfig.h
update config\i386\g
as
.h tm.h
update config\i386\g
o32
.h tm.h
update config\i386\i386.md md
update config\i386\i386.md md
update config\i386\i386.c aux-output.c
update config\i386\i386.c aux-output.c
...
@@ -13,19 +13,27 @@ echo all.dos: cccp cc1 cc1plus cc1obj xgcc>> Makefile
...
@@ -13,19 +13,27 @@ echo all.dos: cccp cc1 cc1plus cc1obj xgcc>> Makefile
if exist config.sed del config.sed
if exist config.sed del config.sed
echo "/\.o[ ]*:/ s/config.status// ">> config.sed
echo "/^target=/ c\ ">> config.sed
echo "/^target=/ c\ ">> config.sed
echo "target=go32 ">> config.sed
echo "target=go32 ">> config.sed
echo "/^version=/ c\ ">> config.sed
echo "/^version=/ c\ ">> config.sed
sed -e "s/[^\"]*\"/version=/" -e "s/
;
//" version.c >> config.sed
sed -e "s/[^\"]*\"/version=/" -e "s/
\ .*
//" version.c >> config.sed
echo "s/CC = cc/CC = gcc/ ">> config.sed
echo "s/CC = cc/CC = gcc/ ">> config.sed
echo "s/:\$/: \$/g ">> config.sed
echo "s/:\$/: \$/g ">> config.sed
echo "s/^ \
.\// go32 /
">> config.sed
echo "s/^ \
*\.\// go32 /
">> config.sed
echo "s/^ \$(srcdir)\/move-if-change/ update/ ">> config.sed
echo "s/^ \$(srcdir)\/move-if-change/ update/ ">> config.sed
echo "s/^USE_/# USE_/ ">> config.sed
echo "s/^USE_/# USE_/ ">> config.sed
echo "s/`echo \$(srcdir)\///g ">> config.sed
echo "s/`echo \$(srcdir)\///g ">> config.sed
echo "s/ | sed 's,\^\\\.\/,,'`//g ">> config.sed
echo "s/ | sed 's,\^\\\.\/,,'`//g ">> config.sed
echo "s/^ cd \$(srcdir)[ ]*;// ">> config.sed
echo "s/^ cd \$(srcdir)[ ]*;// ">> config.sed
echo "/^stamp-attrtab/,/update/ { ">> config.sed
echo " /\\/d ">> config.sed
echo " /fi/d ">> config.sed
echo " /update/ i\ ">> config.sed
echo " go32 genattrtab md > t-attrtab.c ">> config.sed
echo "} ">> config.sed
echo "/^cccp.o[ ]*:/,/-c/ { ">> config.sed
echo "/^cccp.o[ ]*:/,/-c/ { ">> config.sed
echo " s/ \$(CC)/ >cccp_o.rf/ ">> config.sed
echo " s/ \$(CC)/ >cccp_o.rf/ ">> config.sed
echo " /-c/ a\ ">> config.sed
echo " /-c/ a\ ">> config.sed
...
@@ -67,6 +75,10 @@ echo "/^enquire.o[ ]*:/ s/\$(GCC_PASSES)//g ">> config.sed
...
@@ -67,6 +75,10 @@ echo "/^enquire.o[ ]*:/ s/\$(GCC_PASSES)//g ">> config.sed
echo "/^GCC_FOR_TARGET =/ c\ ">> config.sed
echo "/^GCC_FOR_TARGET =/ c\ ">> config.sed
echo "GCC_FOR_TARGET = gcc ">> config.sed
echo "GCC_FOR_TARGET = gcc ">> config.sed
echo "s/; *@true// ">> config.sed
echo "s/stamp-/s-/g ">> config.sed
echo "s/tmp-/t-/g ">> config.sed
sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
sed -f config2.sed Makefile.in >> Makefile
sed -f config2.sed Makefile.in >> Makefile
del config.sed
del config.sed
...
...
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