cpp-to-assembly icon indicating copy to clipboard operation
cpp-to-assembly copied to clipboard

Error: Command failed: c-preload/compiler-wrapper gcc -std=c99 -c -Wa,-ald -g /tmp/test.c

Open rsozdance opened this issue 8 years ago • 1 comments

Hello, I am using MACOS 10.10, while running the application i get this error!, Error: Command failed: c-preload/compiler-wrapper gcc -std=c99 -c -Wa,-ald -g /tmp/test988733321.c clang: error: unsupported argument '-ald' to option 'Wa,'

rsozdance avatar Aug 20 '16 22:08 rsozdance

i tried to change /routes/index.coffee on line 90 from:

compilecmd = "c-preload/compiler-wrapper #{compiler} #{asm} " +
                                        "-std=#{standard} -c #{optimize} -Wa,-ald " +
                                        "-g /tmp/test#{fileid}.#{lang}"

to:

compilecmd = "c-preload/compiler-wrapper #{compiler} #{asm} " +
                                        "-std=#{standard} -c #{optimize} -Wa " +
                                        "-g /tmp/test#{fileid}.#{lang}"

it doesn't show any error now! but the site now doesn't show asm code!.

rsozdance avatar Aug 20 '16 22:08 rsozdance