Replies: 2 comments
-
If you are asking about obtaining the compile target architecture at jam parse time, it's not possible. As that can have multiple answers depending on what the user asks for. For example one could ask to build with If you are asking something else, can you provide the context of what you are trying to achieve? I.e. why/where/when do you need to know the architecture target? |
Beta Was this translation helpful? Give feedback.
-
I try to write a Jamfile that can support all native platform and cross-compile. https://github.com/ksyun-kenc/liuguang/blob/main/src/deps/b2/os-paths.jam eg: I use When native compile on Surface RT with Linux installed, I'd like to add a armhf path. |
Beta Was this translation helpful? Give feedback.
-
I want to do different things depending on the CPU architecture, such as:
Beta Was this translation helpful? Give feedback.
All reactions