Mono-D icon indicating copy to clipboard operation
Mono-D copied to clipboard

Add x86_64 support for dub builds

Open etcimon opened this issue 11 years ago • 7 comments

It would be nice to be able to select the platform in the drop-down, these are the command line options for dub:

--arch=x86 --arch=x86_64

etcimon avatar May 12 '14 21:05 etcimon

Gotta see how to add them to the drop downs. Are there further architectures supported?

aBothe avatar May 12 '14 21:05 aBothe

Are there further architectures supported?

Not that I know of. However, you should combine it with LDC/DMD/GDC choices with

LDC x86 => --arch=x86 --compiler=ldc2 LDC x86_64 => --arch=x86_64 --compiler=ldc2 DMD x86 => --arch=x86 --compiler=dmd DMD x86_64 => --arch=x86_64 --compiler=dmd etc.

etcimon avatar May 12 '14 21:05 etcimon

Which drop-down do you mean? the second from the left in the upper menu bar in XS which tends to stay grayed-out?

aBothe avatar May 16 '14 15:05 aBothe

yes

etcimon avatar May 16 '14 16:05 etcimon

In here (https://github.com/mono/monodevelop/blob/master/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ConfigurationComboBox.cs#L58 ), the second drop-down becomes added. I didn't know that this is only for selecting target runtimes of some special c# projects, not any kinds of project platforms or so. I could try to add a third combo box for dub projects only, but would that make any sense as you normally don't specify anything on the dub command line but exclusively in the dub.json? And would others tend to use it? I'd rather create sub configurations which handle adding custom flags to the compiler or so.

aBothe avatar May 16 '14 16:05 aBothe

Wouldn't you need to do the same for Mono-d projects as well?

Orvid avatar Sep 24 '14 21:09 Orvid

In which way? Enable cross-compiles? Tbh, there are more important things to handle, imho :P

aBothe avatar Sep 24 '14 23:09 aBothe