D.gnu - Fixed it, but I have a question about ./configure of GDC
- FreekSh0w86 <perfectcell14 yahoo.com> Jul 27 2008
- "Koroskin Denis" <2korden gmail.com> Jul 28 2008
- Vince <toto toto.fr> Jul 29 2008
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)?
Jul 27 2008
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.
Jul 28 2008
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.
case "$d_target_os" in psp*) d_os_versym=psp ; d_unix=1 ;; ... I think you could then write Version(psp) { }
Jul 29 2008








Vince <toto toto.fr>