[m-dev.] for review: ANSI C fixes for none.x grades

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Nov 25 10:58:33 AEDT 1999


On 25-Nov-1999, Peter Ross <petdr at cs.mu.OZ.AU> wrote:
> Ensure that the none.gc and none grades compile using a compiler
> other than gcc.

That looks good, thanks Pete!

> compiler/export.m:
>     Remove a duplicate label definition.

s/definition/declaration/

Are you sure that the label declaration there is not needed?
Can you please test compiling some simple file using
`pragma export' (e.g, export_test and pragma_import_tests
in tests/hard_coded) with `--split-c-files'?

>  	alpha-dec-osf*)
>  		AC_MSG_RESULT(yes)
> -		LINK_SHARED_OBJ='gcc -shared \
> -		-Wl,-O3,-update_registry,$(SO_LOCATIONS_DIR)so_locations'
> -		LINK_SHARED_OBJ_SH='gcc -shared \
> -		-Wl,-O3,-update_registry,${SO_LOCATIONS_DIR}so_locations'
> -		ERROR_UNDEFINED="-Wl,-error_unresolved"
> -		EXE_RPATH_OPT="-Wl,-rpath,"
> +		LINK_SHARED_OBJ="gcc -shared \
> +		-Wl-O3 -Wl-update_registry -Wl$(SO_LOCATIONS_DIR)so_locations"
> +		LINK_SHARED_OBJ_SH="gcc -shared \
> +		-Wl-O3 -Wl-update_registry -Wl$(SO_LOCATIONS_DIR)so_locations"
> +		ERROR_UNDEFINED="-Wl-error_unresolved"
> +		EXE_RPATH_OPT="-Wl-rpath,"

Sorry, you ran into a bug that I introduced into that code.
You will need to merge in my recent fix to that.
In particular the $ need to be \$

[... to be continued ...]

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list