No DLL exports in YASM?
Peter Johnson
peter at tortall.net
Sun Jan 23 22:45:55 PST 2005
The command-line portions are fixed in r1197. I'll start looking at
implementing the export directive.
Thanks,
Peter
On Sun, 23 Jan 2005, Brian Gladman wrote:
> I had thought that YASM now does pretty well all that NASM does on WIn32 but
> I have found that YASM does not cope with the 'export' keyword for DLL
> exports. Here is a fragement of a file:
>
> ----------------------------
> section .text
> global ___gmpn_divexact_1
> %ifdef DLL
> export ___gmpn_divexact_1
> %endif
> align 16
> ___gmpn_divexact_1:
> mov edx,[12+esp]
> ----------------------------
>
> which fails on YASM when DLL is defined - but NASM is ok.
>
> Minor nuisances that prevent identical command lines with YASM and NASM are:
>
> 1) NASM takes both -I and -i on the command line for include files
> 2) YASM stops on seeing the -On NASM directive for optimisation passes
>
> On the latter it would help if YASM either silently ignored this or issued a
> warning and continued. Otherwise I and others will have to change project
> build command lines when switching from NASM to YASM. In my case I have
> hundreds of these!
>
> best regards,
>
> Brian Gladman
>
> _______________________________________________
> bug-yasm mailing list
> bug-yasm at tortall.net
> http://cvs.tortall.net/mailman/listinfo/bug-yasm
>
More information about the bug-yasm
mailing list