Ticket #9293: AmigaOS4.diff
File AmigaOS4.diff, 1.3 KB (added by , 14 years ago) |
---|
-
configure
252 252 } 253 253 254 254 gcc_get_define() { 255 echo "" | $CXX -dM -E - | fgrep "$1" | head -n1 | cut -d ' ' -f 3- 255 # Note: The AmigaOS compiler doesn't like the "-" input file, so a real file 256 # is used instead 257 rm -f $TMPC 258 touch $TMPC 259 $CXX -dM -E $TMPC | fgrep "$1" | head -n1 | cut -d ' ' -f 3- 260 rm -f $TMPC 256 261 } 257 262 258 263 # … … 1514 1519 echo $_host_os 1515 1520 case $_host_os in 1516 1521 amigaos*) 1522 CXXFLAGS="$CXXFLAGS -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400" 1523 LDFLAGS="$LDFLAGS -mcrt=newlib -use-dynld -L/sdk/local/newlib/lib" 1517 1524 # We have to use 'long' for our 4 byte typedef because AmigaOS already typedefs (u)int32 1518 1525 # as (unsigned) long, and consequently we'd get a compiler error otherwise. 1519 1526 type_4_byte='long'