Re: Dejagnu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014-11-11 18:02 GMT+08:00 Manpreet Singh <mappysingh@xxxxxxxxx>:
> Hi,
> While running gcc testsuite dejagnu search for newlib e.g string.h.
> But the cross-compiler which i am trying to run is configured and
> build without newlib. Is there any way to configure dejagnu, so that
> it would not search for newlib while running gcc testsuite.
>
> Please guide me in this direction.
>

Hi, Manpreet,

But some test cases indeed require library implementation.
(e.g. gcc.c-torture/execute/strcmp-1.c)

Even you build a compiler without using newlib, you still need to
have your own library and header files.  Then use options to guide
compiler find the location so that the cases can be compiled and verified.

Please refer to the dejagnu/baseboards/XXX-sim.exp content,
I think you can use -I xxx, -L yyy, -lzzz options there.


Best regards,
jasonwucj


> Thanks & regards
> Manpreet Singh



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux