[m-users.] Mercury on ARM
Julien Fischer
jfischer at opturion.com
Wed Jun 5 18:17:05 AEST 2013
On Wed, 5 Jun 2013, Tycho Luyben wrote:
> If I compile with
>
> gcc test.c -o test
>
> it works fine,
>
> mgnuc test.c -o test
>
> results in the same error as we know and love (cannot find stack_t), so it's definitely something in that script adding this lovely feature :)
mgnuc will pass -ansi by default, so that's not too suprising, wWhat if
you do:
mgnuc --no-ansi test.c -o test
Inside the mgnuc script there is a variable named "verbose" which is set
to "false". If you change its value to "true" then it will print out
the command line used to invoke the C compiler.
Cheers,
Julien.
More information about the users
mailing list