All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cui Bixuan <cuibixuan@huawei.com>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] How to compie a ltp-case into 32-bit on the 64bit system
Date: Sat, 1 Aug 2015 09:18:09 +0800	[thread overview]
Message-ID: <55BC1E51.6090508@huawei.com> (raw)
In-Reply-To: <1010625653.980528.1438323855616.JavaMail.zimbra@redhat.com>

On 2015/7/31 14:24, Li Wang wrote:

> Then, I came up with a idea that I don't include the ltp-lib file in 'msgrcv08.c', 
> and just add two lines in the .../ipc/msgrcv/Makefile:
> 
>   msgrcv08:
> 	gcc -g -O2 -Wall -m32 msgrcv08.c -o msgrcv08
> 
> It works for me, but I know it's not appropriate for LTP management.
> 
> What should I do? or, Is there any good way to solve this problem?
Hi,
    For LTP, we can run './configure CC=[SDK-32]; make;' to compile 32-bit testcases.
So, I think, if the case 'msgrcv08.c' will not work as 64-bit application, it can check the
SDK first. And do 'TCONF: not gcc32' if it's 64-bit application.

    It's not a good idea that ipc/msgrcv/Makefile to control it, I mean, LTP user to control
it in ./configure which will be better.

    What do you think?

Thanks,
Cui Bixuan

> 
> Thanks~
> 


------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  parent reply	other threads:[~2015-08-01  1:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <751019010.974973.1438321471218.JavaMail.zimbra@redhat.com>
2015-07-31  6:24 ` [LTP] How to compie a ltp-case into 32-bit on the 64bit system Li Wang
2015-07-31 14:07   ` Li Wang
2015-08-01  1:18   ` Cui Bixuan [this message]
2015-08-03 10:08     ` Li Wang
2015-08-03  8:39   ` Cyril Hrubis
     [not found]     ` <CAEemH2dOo=3Gq=c4eLuYL=itfYHLZMqFMDh_88k7ttUikqLA9Q@mail.gmail.com>
2015-08-03 11:48       ` Cyril Hrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55BC1E51.6090508@huawei.com \
    --to=cuibixuan@huawei.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.