On Wed, May 4, 2016 at 6:14 AM, Pierre Free Pascal <pie...@freepascal.org> wrote:
> I think the correct solution for you is to use explicit size information: > > > > FSTP SINGLE PTR [EDX] > > FSTP SINGLE PTR [EAX] > Indeed that worked as expected. Thank you. > but > > FSTP [s] > > and > > FSTP [c] > It still requires explicit size information, like FSTP SINGLE [s] > My GNU as version 2.26 does not seem to need an explicit size, > > but I don’t know what Xcode uses, isn’t it also a GNU assembler? > > Could you tell us which assembler is used? > It's Apple's clang IIRC Apple stopped using gnu-tools since Xcode 3.2 or something like that. Here are more exact details: $ as -v Apple LLVM version 7.3.0 (clang-703.0.29) Target: x86_64-apple-darwin15.3.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple x86_64-apple-macosx10.11.0 -filetype obj -main-file-name - -target-cpu core2 -dwarf-version=2 -fdebug-compilation-dir /Users/dmitry/FPC_Laz -dwarf-debug-producer Apple LLVM version 7.3.0 (clang-703.0.29) -mrelocation-model pic -o a.out - thanks, Dmitry
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal