Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.51 build issue, I think...
From: Lemay.Steve (Steve.Lemay_at_[hidden])
Date: 2012-08-22 13:43:59


The qcc toolset basically "wraps" the gcc environment. The current supported compiler is gcc 4.4.2. I believe QNX provides free downloads of the development environment, as well as a pre-made QNX hosted VM. The 30 day trial license can be found here: http://www.qnx.com/products/evaluation/ I get the same issue with qcc 4.7.1 (which is currently considered prototype).

I seemed to get the same result with this change. (but, I don't really know specifically what I'm doing in bjam files)

    if ( ! ( <toolset>gcc in $(properties)
        || <toolset>qcc in $(properties)
            || <toolset>intel in $(properties)
            || <toolset>msvc in $(properties) ) )

SGL
steven.lemay_at_[hidden]<mailto:steven.lemay_at_[hidden]>

From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Oliver Kowalke
Sent: Wednesday, August 22, 2012 10:18 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] 1.51 build issue, I think...

Am 22.08.2012 17:47, schrieb Lemay.Steve:
do you use the bjam version provided by boost-1.51?
Yes, bjam is created on the first build. I'm using QNX SDK 6.5 SP1 on a Windows hosted development environment. VS2012 also installed. Contents of batch file provide below. (gcc 4.4.2 support, and gcc 4.7.1 prototype)

on which architecture you have QNX running (i386/x8664,arm, mips, ...), which binary format and which ABI is used?

Although the SDK support several target processors, this builds target for x86 (AMD K8 architecture - 32-bit addressing). I believe ELF and SYSV (still need to verify) and the boost toolset configuration is set to qcc (not gcc). Is there a good/simple way to verify the ABI?

As I am not very familiar with bjam syntax - could the boost_1_51_0\libs\context\build\jamfile.v2 just be confused because of the toolset definition? Considering qcc wraps gcc...? I'm looking specifically at:

rule configure ( properties * )
{
    local result ;

    if ( ! ( <toolset>gcc in $(properties)
            || <toolset>intel in $(properties)
            || <toolset>msvc in $(properties) ) )
    {
        result = <build>no ;
        ECHO "toolset not supported" ;
    }

    return $(result) ;
}

I don't know qcc, but if I look inside tools/build/v2/tools/qcc.jam it is derived from gcc.
The question is if you could use gcc as toolset value on QNX too (bjam toolset=gcc)?
Is GNU as available and installed on QNX (required to compile the assembler)?

Maybe you could try to add <toolset>qcc in $(properties) in rule configure.

Is a free version of QNX available? AFAIK some years ago it was but the new owner of QNX has revoked the free license.

Oliver



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net