[Vala] how to specify C toolchain to valac?
- From: Nigel Griffin <ngriffin vuze com>
- To: vala-list gnome org
- Subject: [Vala] how to specify C toolchain to valac?
- Date: Fri, 6 Aug 2010 09:27:55 -0700 (PDT)
Hi,
Environment: Ubuntu 10.04 x86_64
Is there a way to specify to valac what C compiler (and C toolchain in general) to use? I'm attempting to
cross compile a program written in vala (which, I presume, only requires that the generated C code is cross
compiled).
So far, it seems that my only options are:
1) add the location of the cross compiler to my PATH so that it always finds the cross compiler gcc first
2) Hand edit makefiles and set the toolchain there
If anyone has experience here, any suggestions on how best to proceed would be greatly appreciated. Ideally,
I would prefer to tell valac directly what toolchain to use.
-Nigel Griffin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]