Changeset 0c602f0 in rtems for scripts/gccnewlib


Ignore:
Timestamp:
Jan 23, 2000, 7:20:02 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9ce64148
Parents:
8d37343
Message:

Patch from David Fiddes <D.J@…> 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.

Location:
scripts/gccnewlib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/gccnewlib/gccnewlib.spec.in

    r8d37343 r0c602f0  
    204204
    205205%dir /opt/rtems/bin
    206 /opt/rtems/bin/cpp
    207 /opt/rtems/bin/gcov
    208 /opt/rtems/bin/@target_alias@-c++
    209 /opt/rtems/bin/@target_alias@-g++
    210 /opt/rtems/bin/@target_alias@-gcc
    211 /opt/rtems/bin/@target_alias@-protoize
    212 /opt/rtems/bin/@target_alias@-unprotoize
     206/opt/rtems/bin/cpp@exe_ext@
     207/opt/rtems/bin/gcov@exe_ext@
     208/opt/rtems/bin/@target_alias@-c++@exe_ext@
     209/opt/rtems/bin/@target_alias@-g++@exe_ext@
     210/opt/rtems/bin/@target_alias@-gcc@exe_ext@
     211/opt/rtems/bin/@target_alias@-protoize@exe_ext@
     212/opt/rtems/bin/@target_alias@-unprotoize@exe_ext@
    213213
    214214%dir /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/include
     
    270270%files -n @target_alias@-gcj -f build/files.gcj
    271271%dir /opt/rtems/bin
    272 /opt/rtems/bin/jcf-dump
    273 /opt/rtems/bin/jv-scan
    274 /opt/rtems/bin/gcjh
    275 /opt/rtems/bin/@target_alias@-gcj
     272/opt/rtems/bin/jcf-dump@exe_ext@
     273/opt/rtems/bin/jv-scan@exe_ext@
     274/opt/rtems/bin/gcjh@exe_ext@
     275/opt/rtems/bin/@target_alias@-gcj@exe_ext@
    276276
    277277/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/jc1
     
    281281%files -n @target_alias@-g77 -f build/files.g77
    282282%dir /opt/rtems/bin
    283 /opt/rtems/bin/@target_alias@-g77
     283/opt/rtems/bin/@target_alias@-g77@exe_ext@
    284284
    285285%dir /opt/rtems/info
     
    290290%doc /opt/rtems/man/man1/@target_alias@-g77.1
    291291
    292 /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/f771
     292/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/f771@exe_ext@
    293293
    294294%post -n @target_alias@-g77
     
    314314
    315315%files -n @target_alias@-objc -f build/files.objc
    316 /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj
     316/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj@exe_ext@
    317317/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/include/objc
  • scripts/gccnewlib/gccnewlib_c_only.spec.in

    r8d37343 r0c602f0  
    138138
    139139%dir /opt/rtems/bin
    140 /opt/rtems/bin/cpp
    141 /opt/rtems/bin/gcov
    142 /opt/rtems/bin/@target_alias@-c++
    143 /opt/rtems/bin/@target_alias@-g++
    144 /opt/rtems/bin/@target_alias@-gcc
    145 /opt/rtems/bin/@target_alias@-protoize
    146 /opt/rtems/bin/@target_alias@-unprotoize
     140/opt/rtems/bin/cpp@exe_ext@
     141/opt/rtems/bin/gcov@exe_ext@
     142/opt/rtems/bin/@target_alias@-c++@exe_ext@
     143/opt/rtems/bin/@target_alias@-g++@exe_ext@
     144/opt/rtems/bin/@target_alias@-gcc@exe_ext@
     145/opt/rtems/bin/@target_alias@-protoize@exe_ext@
     146/opt/rtems/bin/@target_alias@-unprotoize@exe_ext@
    147147
    148148%dir /opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/include
Note: See TracChangeset for help on using the changeset viewer.