View previous topic :: View next topic |
Author |
Message |
Gregor
Joined: 05 May 2006 Posts: 72 Location: Portland, OR
|
Posted: Fri Sep 29, 2006 9:44 am Post subject: Default vOutFileSwitch on GDC |
|
|
I forgot to post about this since the nix_gdc_build.cfg file works fine - the default vOutFileSwitch for GDC in build.d is "-of ", but it should be "-o " ... this may be my fault, the change I made and submitted to get GDC working in the first place my have overlooked that.
Anyway, the .cfg file works, so it's fairly trivial *shrugs* |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Sun Oct 01, 2006 5:49 pm Post subject: Re: Default vOutFileSwitch on GDC |
|
|
Gregor wrote: | I forgot to post about this since the nix_gdc_build.cfg file works fine - the default vOutFileSwitch for GDC in build.d is "-of ", but it should be "-o " ... this may be my fault, the change I made and submitted to get GDC working in the first place my have overlooked that.
Anyway, the .cfg file works, so it's fairly trivial *shrugs* |
Yes it does
The problem is though that the defaults have been set up or identified with platform environments, however in reality they are actually toolset defaults. The idea is that one can select the tools that they wish to use (compilers, linkers, librarians) and tweak the config file to cater for your choices.
For example, it is not inconceivable that another D compiler will be written for the Windows environment, or that someone finally gets a better linker than optlink running. These will probably use different switches, so I can't put them as 'defaults' into the Build tool. That is why the config file concept exists. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
Gregor
Joined: 05 May 2006 Posts: 72 Location: Portland, OR
|
Posted: Mon Oct 02, 2006 9:12 am Post subject: |
|
|
Considering that in the general case, somebody will have a plain install of something, and those plain installs can be detected at compile time with simple version() statements, it seems to me like the defaults in place ought to work in those default environments ... most people do not want to have to tweak a build tool to their custom environment, especially when their custom environment isn't custom at all. |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Mon Oct 02, 2006 11:35 am Post subject: |
|
|
Gregor wrote: | Considering that in the general case, somebody will have a plain install of something, and those plain installs can be detected at compile time with simple version() statements, it seems to me like the defaults in place ought to work in those default environments ... most people do not want to have to tweak a build tool to their custom environment, especially when their custom environment isn't custom at all. |
Please tell me what are the default tools for the environments described by the current version settings built into D today.
This is what I think they are ...
Code: |
OPSYS VENDOR TOOLSET
======= ======== ======================
Windows DM dmd.exe, link.exe, lib.exe
Windows GNU gdc.exe, gdc.exe, ar.exe
Linux DM dmd, gcc, ar
Linux GNU gdc, gdc, ar
|
_________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
Gregor
Joined: 05 May 2006 Posts: 72 Location: Portland, OR
|
Posted: Tue Oct 03, 2006 6:29 pm Post subject: |
|
|
Those all look like proper defaults ...
But the default for gdc's output flag is "-o ", not "-of". That's all I'm saying |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Wed Oct 04, 2006 11:40 pm Post subject: |
|
|
Gregor wrote: | Those all look like proper defaults ...
But the default for gdc's output flag is "-o ", not "-of". That's all I'm saying |
Thanks. I've fixed the out-of-the-box default for the next release. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|