[m-rev.] Change compiler output to use `.' as module separator

Ralph Becket rafe at cs.mu.OZ.AU
Fri Jan 17 16:38:23 AEDT 2003


Ralph Becket, Friday, 17 January 2003:
> 
> However, when I compile it (using either `mmc --make dot_separator' or
> `mmake dot_separator.depend; mmake dot_separator') I get
>
> [...]
> ml --grade asm_fast.gc              --    -o dot_separator Mercury/os/dot_separator_init.o \
>         Mercury/os/dot_separator.o Mercury/os/dot_separator...o Mercury/os/dot_separator.foo..o Mercury/os/dot_separator.foo_1.o \
>               
> Mercury/os/dot_separator_init.o: In function `init_modules_type_tables_0':
> Mercury/os/dot_separator_init.o(.text+0x1c): undefined reference to `mercury__dot_separator______init_type_tables'
> Mercury/os/dot_separator_init.o(.text+0x21): undefined reference to `mercury__dot_separator__foo____init_type_tables'
> collect2: ld returned 1 exit status
> gmake: *** [dot_separator] Error 1

The problem arises with any (sub)module whose name concludes with a `.'.

	Ralph
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list