|
Boost-Build : |
From: gclbb-jamboost_at_[hidden]
Date: 2002-07-07 12:46:08
In article <20020707115921-r01010800-4491c989-0860-0108_at_12.100.89.43>,
Rene Rivera <jamboost_at_[hidden]> wrote:
>>What does 'if $(NT)' check for?
>
>That's part of the problem I saw in the toolset. It's supposed to check if
>you are in the Windows(32) platform. But later on in the build actions it
>assumes that it's a Win32 platform. So if one tried to use the como toolset
>on a non-Windows platform it might almost seem to work, but would fail
>because of syntax errors or unkown commands to the shell.
Ok, so I'm not crazy (ok, maybe a little :)
>>>* We can tell which platform we are running in, and therefore adjust the
>>>compiler invocations accordingly. But again that's not done in the current
>>>como toolset support.
>>
>>Right, and I see for Intel that that wasn't done either, and instead
>>a seperate file was used. ???
>
>This is because the Unix vs. Windows invocations are usually so different
>that it's not worth doing a combined toolset.
Ok, I guess this will need to be considered. OTOH, I'm confused
about the choice currently being used (if any??) between an if statement
vs a seperate file?
-- Greg Comeau 4.3.0 NEWS: New Windows Backends + 'export' IN July! Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk