This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling ltrace on macos / was Re: gdb problem


Hello

On Sun, Aug 21, 2011 at 11:48, Titus von Boxberg <titus@v9g.de> wrote:
> with the recent patch series I'm able to build your mips config
> with the following changes:
> - did not have your files: linux kernel tarball, uclibc config file, so:

As announced, "It is now available online as a DMG on
http://dl.dropbox.com/u/984275/fritzbox/Fritzbox.dmg.bz2, along with
the source code that was used to produce it :
http://dl.dropbox.com/u/984275/fritzbox/Crosstools.dmg.bz2.";

> ?- used the uClibc-0.9.30 config file from samples directory
> ?- used CT_KERNEL_V_2_6_35_14

Both are in Fritzbox.dmg.bz2

> ?read_config_file.c:86: undefined reference to `index'.
> The first three would be fairly simple to correct.
> As a uclibc-agnostic, the last one is beyond my imagination.
> Any hints?

In my "handy functions" .h, which I frequently use to compile with uclibc :
#define MAX_LINE 255
#define getwd(x) getcwd(x,MAX_LINE)
#define bcmp(s1,s2,n) memcmp((s1), (s2), (size_t)(n))
#define index(s,c) strchr((s), (c))
#define rindex(s,c) strrchr((s), (c))
#define bcopy(src, dst, len) memcpy(dst, src, len)

Guylhem

-- 
vCard: http://guylhem.tel

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]