summaryrefslogtreecommitdiffstats
path: root/scripts/gnatnewlib
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-23 19:20:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-23 19:20:02 +0000
commit0c602f0474abe72dc3941eec2524e640e2382b32 (patch)
tree3d6e379920f7bd750d80f4867b506c91cbce0fdd /scripts/gnatnewlib
parent8d37343a5d3fef53422c7728a4e8b65bc4045bdb (diff)
downloadrtems-0c602f0474abe72dc3941eec2524e640e2382b32.tar.bz2
Patch from David Fiddes <D.J@fiddes.surfaid.org> which adds basic
Cygwin support to the RPM scripts. The patch from David did not apply cleanly and Joel ended up making all the modifications plus some it should have included for consistency by hand. His comments: I've included a diff against the last (19991203) snapshot RPM scripts that adds what I think is required for Cygwin support. Basically all this boils down to is adding EXE extension support. I've added the AC_EXEEXT rule to conifgure.in (requires a valid 'cc' to work - this is not available in the standard Cygwin distro). Each of the *.spec.in have @exe_ext@ includes in them for each program that results in an EXE. The only odity here is that the chill driver program is a shell script and thus does not require .exe to be added... The mk*.in have all been updated to process the new exe_ext rule.
Diffstat (limited to 'scripts/gnatnewlib')
-rw-r--r--scripts/gnatnewlib/gnatnewlib.spec.in34
1 files changed, 17 insertions, 17 deletions
diff --git a/scripts/gnatnewlib/gnatnewlib.spec.in b/scripts/gnatnewlib/gnatnewlib.spec.in
index 7b91a4722b..1758f559ac 100644
--- a/scripts/gnatnewlib/gnatnewlib.spec.in
+++ b/scripts/gnatnewlib/gnatnewlib.spec.in
@@ -165,13 +165,13 @@ This is the gcc/objc compiler for @target_alias@
%doc /opt/rtems/man/man1/@target_alias@-g++.1
%dir /opt/rtems/bin
-/opt/rtems/bin/cpp
-/opt/rtems/bin/gcov
-/opt/rtems/bin/@target_alias@-c++
-/opt/rtems/bin/@target_alias@-g++
-/opt/rtems/bin/@target_alias@-gcc
-/opt/rtems/bin/@target_alias@-protoize
-/opt/rtems/bin/@target_alias@-unprotoize
+/opt/rtems/bin/cpp@exe_ext@
+/opt/rtems/bin/gcov@exe_ext@
+/opt/rtems/bin/@target_alias@-c++@exe_ext@
+/opt/rtems/bin/@target_alias@-g++@exe_ext@
+/opt/rtems/bin/@target_alias@-gcc@exe_ext@
+/opt/rtems/bin/@target_alias@-protoize@exe_ext@
+/opt/rtems/bin/@target_alias@-unprotoize@exe_ext@
%dir /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/include
@@ -202,7 +202,7 @@ This is the gcc/objc compiler for @target_alias@
%files -n @target_alias@-chill -f build/files.chill
%dir /opt/rtems/bin
-/opt/rtems/bin/@target_alias@-chill
+/opt/rtems/bin/@target_alias@-chill@exe_ext@
%dir /opt/rtems/info
%doc /opt/rtems/info/dir
@@ -231,18 +231,18 @@ This is the gcc/objc compiler for @target_alias@
%files -n @target_alias@-gcj -f build/files.gcj
%dir /opt/rtems/bin
-/opt/rtems/bin/jcf-dump
-/opt/rtems/bin/jv-scan
-/opt/rtems/bin/gcjh
-/opt/rtems/bin/@target_alias@-gcj
+/opt/rtems/bin/jcf-dump@exe_ext@
+/opt/rtems/bin/jv-scan@exe_ext@
+/opt/rtems/bin/gcjh@exe_ext@
+/opt/rtems/bin/@target_alias@-gcj@exe_ext@
-/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/jc1
-/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain
+/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/jc1@exe_ext@
+/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain@exe_ext@
%files -n @target_alias@-g77 -f build/files.g77
%dir /opt/rtems/bin
-/opt/rtems/bin/@target_alias@-g77
+/opt/rtems/bin/@target_alias@-g77@exe_ext@
%dir /opt/rtems/info
%doc /opt/rtems/info/g77.info*
@@ -251,7 +251,7 @@ This is the gcc/objc compiler for @target_alias@
%dir /opt/rtems/man/man1
%doc /opt/rtems/man/man1/@target_alias@-g77.1
-/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/f771
+/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/f771@exe_ext@
%post -n @target_alias@-g77
if test -d $RPM_INSTALL_PREFIX/rtems/info;
@@ -275,5 +275,5 @@ This is the gcc/objc compiler for @target_alias@
%files -n @target_alias@-objc -f build/files.objc
-/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj
+/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj@exe_ext@
/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/include/objc