X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fqnx.sh;h=06d9010144ef28ddfa0f97c7880435c82bc0a0b8;hb=8a647129b625da7b991d7050849bf1dc6684f30c;hp=947c98f6799d86c864c2bb19a41b35894ace4e4c;hpb=4f6a2eb23e4ea1b82f5ccc0338193aefaa69108c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/qnx.sh b/hints/qnx.sh index 947c98f..06d9010 100644 --- a/hints/qnx.sh +++ b/hints/qnx.sh @@ -36,18 +36,8 @@ # Resolved in 970211 Beta # lib/io_udp.t test hangs because of a bug in getsockname(). # Fixed in latest BETA socket3r.lib -# If there is a softlink in your path, Findbin will fail. -# This is a documented feature of perl's getpwd(). # There is currently no support for dynamically linked # libraries. -# op/magic.t failure due to a feature of QNX which rewrites script -# names before they are executed. I think you'll find that if -# you cd `fullpath -t` before doing the make, the test will pass. -#---------------------------------------------------------------- -# At present, all QNX systems are equivalent architectures, -# so it might be reasonable to call archname=qnx rather than -# making an unnecessary distinction between AT-qnx and PCI-qnx, -# for example. #---------------------------------------------------------------- # These hints were submitted by: # Norton T. Allen @@ -62,6 +52,14 @@ echo "Some tests may fail. Please read the hints/qnx.sh file." echo "" #---------------------------------------------------------------- +# At present, all QNX systems are equivalent architectures, +# so it is reasonable to call archname=x86-qnx rather than +# making an unnecessary distinction between AT-qnx and PCI-qnx, +# for example. +#---------------------------------------------------------------- +archname='x86-qnx' + +#---------------------------------------------------------------- # QNX doesn't come with a csh and the ports of tcsh I've used # don't work reliably: #---------------------------------------------------------------- @@ -100,13 +98,9 @@ libc='/usr/lib/clib3r.lib' # constructs make a lot of noise, so I turn those warnings off. # A few still remain... # -# HIDEMYMALLOC is necessary if using mymalloc since it is very -# tricky (though not impossible) to totally replace the watcom -# malloc/free set. -# # unix.h is required as a general rule for unixy applications. #---------------------------------------------------------------- -ccflags='-DHIDEMYMALLOC -mf -w4 -Wc,-wcd=202 -Wc,-wcd=203 -Wc,-wcd=302 -Wc,-fi=unix.h' +ccflags='-mf -w4 -Wc,-wcd=202 -Wc,-wcd=203 -Wc,-wcd=302 -Wc,-fi=unix.h' #---------------------------------------------------------------- # ldflags: @@ -145,7 +139,7 @@ if [ -z "`which nm 2>/dev/null`" ]; then Creating a quick-and-dirty nm cover for Configure to use: EOF - cat >../UU/nm <<-'EOF' + cat >./UU/nm <<-'EOF' #! /bin/sh #__USAGE #%C [ ...] @@ -161,7 +155,7 @@ if [ -z "`which nm 2>/dev/null`" ]; then } }' EOF - chmod +x ../UU/nm + chmod +x ./UU/nm fi cppstdin=`which cpp 2>/dev/null`