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
603cccba
Commit
603cccba
authored
32 years ago
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r867
parent
19c79343
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
8 deletions
+69
-8
gcc/configure.bat
+69
-8
No files found.
gcc/configure.bat
View file @
603cccba
@echo off
rem GCC configuration script for MSDOG
echo Configuring gcc-2.1 for go32
rem This batch file assumes a unix-type "sed" program
rem Configure for our environment
copy config\i386.xmh config.h
copy config\i386gas.tmh tm.h
copy config\i386.md md
copy config\out-i386.c aux-output.c
update config\xm-i386.h config.h
update config\i386gas.h tm.h
update config\i386.md md
update config\i386.c aux-output.c
rem Install our makefile
copy Makefile.dos Makefile
echo # Makefile generated by "configure.bat"> Makefile
echo all.dos: cccp cc1 cc1plus cc1obj gcc>> Makefile
if exist config.sed del config.sed
echo "/^target=/ c\ ">> config.sed
echo "target=go32 ">> config.sed
echo "/^version=/ c\ ">> config.sed
sed -e "s/[^\"]*\"/version=/" -e "s/;//" version.c >> config.sed
echo "s/CC = cc/CC = gcc/ ">> config.sed
echo "s/:\$/: \$/g ">> config.sed
echo "s/^ \.\// go32 / ">> config.sed
echo "s/^ \$(srcdir)\/move-if-change/ update/ ">> config.sed
echo "s/^USE_/# USE_/ ">> config.sed
echo "s/`echo \$(srcdir)\///g ">> config.sed
echo "s/ | sed 's,\^\\\.\/,,'`//g ">> config.sed
echo "s/^ cd \$(srcdir)[ ]*;// ">> config.sed
echo "/^cccp.o[ ]*:/,/-c/ { ">> config.sed
echo " s/ \$(CC)/ >cccp_o.rf/ ">> config.sed
echo " /-c/ a\ ">> config.sed
echo " $(CC) @cccp_o.rf ">> config.sed
echo "} ">> config.sed
echo "/^gcc.o[ ]*:/,/-c/ { ">> config.sed
echo " s/ \$(CC)/ >gcc_o.rf/ ">> config.sed
echo " /-c/ a\ ">> config.sed
echo " $(CC) @gcc_o.rf ">> config.sed
echo "} ">> config.sed
echo "/^gcc[ ]*:/,/-o/ { ">> config.sed
echo " s/ \$(CC)/ >gcc.rf/ ">> config.sed
echo " /-o/ a\ ">> config.sed
echo " $(CC) @gcc.rf ">> config.sed
echo "} ">> config.sed
echo "/^cc1[ ]*:/,/-o/ { ">> config.sed
echo " s/ \$(CC)/ >cc1.rf/ ">> config.sed
echo " /-o/ a\ ">> config.sed
echo " $(CC) @cc1.rf ">> config.sed
echo "} ">> config.sed
echo "/^cc1plus[ ]*:/,/-o/ { ">> config.sed
echo " s/ \$(CC)/ >cc1plus.rf/ ">> config.sed
echo " /-o/ a\ ">> config.sed
echo " $(CC) @cc1plus.rf ">> config.sed
echo "} ">> config.sed
echo "/^cc1obj[ ]*:/,/-o/ { ">> config.sed
echo " s/ \$(CC)/ >cc1obj.rf/ ">> config.sed
echo " /-o/ a\ ">> config.sed
echo " $(CC) @cc1obj.rf ">> config.sed
echo "} ">> config.sed
echo "/^enquire[ ]*:/ s/\$(GCC_PARTS)//g ">> config.sed
echo "/^enquire.o[ ]*:/ s/\$(GCC_PASSES)//g ">> config.sed
echo "/^GCC_FOR_TARGET =/ c\ ">> config.sed
echo "GCC_FOR_TARGET = gcc ">> config.sed
sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
sed -f config2.sed Makefile.in >> Makefile
del config.sed
del config2.sed
This diff is collapsed.
Click to expand it.
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