Thread overview | |||||
---|---|---|---|---|---|
|
July 28, 2008 Fixed it, but I have a question about ./configure of GDC | ||||
---|---|---|---|---|
| ||||
Is it possible to pass -fversion=Psp at ./configure time instead of having to manually edit libphobos's Makefile? I've made "patches" to my copy of std.* (phobos) that involve version(Psp) but it requires a complete rebuild of the library with -fversion=Psp defined. Is there a way to automatically put that in configure so I can give people simpler instructions (instead of digging through folders looking for the Makefile)? |
July 29, 2008 Re: Fixed it, but I have a question about ./configure of GDC | ||||
---|---|---|---|---|
| ||||
Posted in reply to FreekSh0w86 | On Mon, 28 Jul 2008 06:46:09 +0400, FreekSh0w86 <perfectcell14@yahoo.com> wrote:
> Is it possible to pass -fversion=Psp at ./configure time instead of having to manually edit libphobos's Makefile? I've made "patches" to my copy of std.* (phobos) that involve version(Psp) but it requires a complete rebuild of the library with -fversion=Psp defined. Is there a way to automatically put that in configure so I can give people simpler instructions (instead of digging through folders looking for the Makefile)?
I think there needs to be a patch to GDC that will automatically predefine version=Psp on this platform in the same way as version=linux is defined on linux and version=windows defined on windows.
|
July 29, 2008 Re: Fixed it, but I have a question about ./configure of GDC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Koroskin Denis | Koroskin Denis a écrit :
> On Mon, 28 Jul 2008 06:46:09 +0400, FreekSh0w86 <perfectcell14@yahoo.com> wrote:
>
>> Is it possible to pass -fversion=Psp at ./configure time instead of having to manually edit libphobos's Makefile? I've made "patches" to my copy of std.* (phobos) that involve version(Psp) but it requires a complete rebuild of the library with -fversion=Psp defined. Is there a way to automatically put that in configure so I can give people simpler instructions (instead of digging through folders looking for the Makefile)?
>
> I think there needs to be a patch to GDC that will automatically predefine version=Psp on this platform in the same way as version=linux is defined on linux and version=windows defined on windows.
In target-ver-syms.sh you should add a PSP target :
case "$d_target_os" in
psp*) d_os_versym=psp ; d_unix=1 ;;
...
I think you could then write
Version(psp)
{
}
|
Copyright © 1999-2021 by the D Language Foundation