January 28, 2015 Re: Who knows about https://github.com/D-Programming-Language/tools/blob/master/update.sh? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Wednesday, 28 January 2015 at 20:35:17 UTC, Andrei Alexandrescu wrote: > On 1/28/15 12:13 PM, "Ulrich =?UTF-8?B?S8O8dHRsZXIi?= <kuettler@gmail.com>" wrote: >> On Wednesday, 28 January 2015 at 16:18:18 UTC, Andrei Alexandrescu wrote: >>> We have a really nice script: >> >> The script overrides the dmd in the path. This does not get along well >> with binary installations or e.g. dvm. I was surprised to find >> $HOME/.dvm/compilers/dmd-2.066.1/linux/bin/dmd updated. > > Yah I agree that's a bit harsh. PR to make it an option? -- https://github.com/D-Programming-Language/tools/pull/157 |
January 28, 2015 Re: Who knows about https://github.com/D-Programming-Language/tools/blob/master/update.sh? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut Attachments: | On Wed, 28 Jan 2015 19:53:09 +0100, Benjamin Thaut wrote:
> Microsoft does not have a offical C compiler. They only have a C++ compiler. And as a result they are also not supporting C99, they only support that part of C which is required by C++ and afaik C99 is not required by the C++ standard.
>
> Also saying that Windows is not a developers plattform might be true for your field of computer sience, but where I work everyone is using windows exclusivly for development, and linux is more or less a optional platform.
developement platform without official C compiler... o tempora, o mores...
|
January 28, 2015 Re: Who knows about https://github.com/D-Programming-Language/tools/blob/master/update.sh? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ketmar | On Wednesday, 28 January 2015 at 21:54:07 UTC, ketmar wrote:
>
> developement platform without official C compiler... o tempora, o mores...
Please, mercy...
This is D forum.
Piotrek
|
January 29, 2015 Re: Who knows about https://github.com/D-Programming-Language/tools/blob/master/update.sh? | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | "H. S. Teoh via Digitalmars-d" wrote in message news:mailman.5522.1422473874.9932.digitalmars-d@puremagic.com... > That will no longer be an option once D becomes self-hosting (DDMD)... > > OTOH, just ship the binary! :-P Exactly. A host D compiler is an inevitable requirement. |
January 29, 2015 updatesh.d now ready for download ;) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | On Wednesday, 28 January 2015 at 18:46:05 UTC, Benjamin Thaut wrote: > Am 28.01.2015 um 18:05 schrieb Andrei Alexandrescu: >> On 1/28/15 9:01 AM, Benjamin Thaut wrote: >>> On Wednesday, 28 January 2015 at 16:18:18 UTC, Andrei Alexandrescu wrote: >>>> We have a really nice script: >>>> >>>> https://github.com/D-Programming-Language/tools/blob/master/update.sh >>>> >>> >>> And once again this only works for linux... >> >> OSX too. What would be a good approach for Windows? >> >>> DMDs test framework is also a hell to use on Windows. It takes 5 times >>> as long to run on Windows compared to linux. >> >> Interesting. Why would that be? >> >> >> Andrei >> > > Because its a .sh script and windows sucks for starting tons of processes. (What a .sh script basically is) > It would be great if the entire dmd testing process would be driven by a executable written in D. > > Same goes for the update.sh, why can't it be a D program? (Requiering that Git is in the PATH or maybe searching some standard locations). Now the update.sh can be a D program. Ported it. Might need some tweaking before it works on Windows or OS X, and I do not claim it is pretty. https://github.com/D-Programming-Language/tools/pull/158 Laeeth. |
February 08, 2015 Re: updatesh.d now ready for download ;) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Laeeth Isharc | On Thursday, 29 January 2015 at 08:05:28 UTC, Laeeth Isharc wrote: > On Wednesday, 28 January 2015 at 18:46:05 UTC, Benjamin Thaut wrote: >> Am 28.01.2015 um 18:05 schrieb Andrei Alexandrescu: >>> On 1/28/15 9:01 AM, Benjamin Thaut wrote: >>>> On Wednesday, 28 January 2015 at 16:18:18 UTC, Andrei Alexandrescu wrote: >>>>> We have a really nice script: >>>>> >>>>> https://github.com/D-Programming-Language/tools/blob/master/update.sh >>>>> >>>> >>>> And once again this only works for linux... >>> >>> OSX too. What would be a good approach for Windows? >>> >>>> DMDs test framework is also a hell to use on Windows. It takes 5 times >>>> as long to run on Windows compared to linux. >>> >>> Interesting. Why would that be? >>> >>> >>> Andrei >>> >> >> Because its a .sh script and windows sucks for starting tons of processes. (What a .sh script basically is) >> It would be great if the entire dmd testing process would be driven by a executable written in D. >> >> Same goes for the update.sh, why can't it be a D program? (Requiering that Git is in the PATH or maybe searching some standard locations). > > > Now the update.sh can be a D program. Ported it. Might need some tweaking before it works on Windows or OS X, and I do not claim it is pretty. > > https://github.com/D-Programming-Language/tools/pull/158 > > > Laeeth. It has been a source of inspiration to write a D script designed to build DMD-head for win32, though it'd need improvment: http://wiki.dlang.org/Building_DMD#Using_a_D_script - it clones or pulls dmd/runtime/phobos - it builds dmd/runtime/phobos with a few tweaking it could be cross-platform. |
February 13, 2015 Re: updatesh.d now ready for download ;) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Baz | On Sunday, 8 February 2015 at 10:58:40 UTC, Baz wrote:
> On Thursday, 29 January 2015 at 08:05:28 UTC, Laeeth Isharc wrote:
>> On Wednesday, 28 January 2015 at 18:46:05 UTC, Benjamin Thaut wrote:
>>> Am 28.01.2015 um 18:05 schrieb Andrei Alexandrescu:
>>>> On 1/28/15 9:01 AM, Benjamin Thaut wrote:
>>>>> On Wednesday, 28 January 2015 at 16:18:18 UTC, Andrei Alexandrescu wrote:
>>>>>> We have a really nice script:
>>>>>>
>>>>>> https://github.com/D-Programming-Language/tools/blob/master/update.sh
>>>>>>
>>>>>
>>>>> And once again this only works for linux...
>>>>
>>>> OSX too. What would be a good approach for Windows?
>>>>
>>>>> DMDs test framework is also a hell to use on Windows. It takes 5 times
>>>>> as long to run on Windows compared to linux.
>>>>
>>>> Interesting. Why would that be?
>>>>
>>>>
>>>> Andrei
>>>>
>>>
>>> Because its a .sh script and windows sucks for starting tons of processes. (What a .sh script basically is)
>>> It would be great if the entire dmd testing process would be driven by a executable written in D.
>>>
>>> Same goes for the update.sh, why can't it be a D program? (Requiering that Git is in the PATH or maybe searching some standard locations).
>>
>>
>> Now the update.sh can be a D program. Ported it. Might need some tweaking before it works on Windows or OS X, and I do not claim it is pretty.
>>
>> https://github.com/D-Programming-Language/tools/pull/158
>>
>>
>> Laeeth.
>
> It has been a source of inspiration to write a D script designed to build DMD-head for win32, though it'd need improvment:
>
> http://wiki.dlang.org/Building_DMD#Using_a_D_script
>
> - it clones or pulls dmd/runtime/phobos
> - it builds dmd/runtime/phobos
>
> with a few tweaking it could be cross-platform.
Nice. I will give it a go on linux when time (I know I would need to tweak).
|
Copyright © 1999-2021 by the D Language Foundation