Search the web
Sign In
New User? Sign Up
dmalloc · Debug Malloc Library (dmalloc) Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
FW: cross-compilation of dmalloc   Message List  
Reply | Forward Message #76 of 529 |
Last message was mangled - retransmitting

> Hi,
> I originally posted this to crossgcc
>
>
> >So I downloaded dmalloc and built it for HP-UX10.20. But I really want to
> >use it on SCO which I cross-compile for . So using my cross-compiler (
> by
> >modifying the line CC=) I get this. Am I on the right track for this? I'd
> >think that this library should be built so that cross-compiled modules
> can
> >use it. Should I be talking to Gray Watson or is this a cross-compiler
> >issue?
> ============== getting this from raj mennon ================
>
> I believe the configure script in dmalloc checks for cross-compilation.
> Make
> sure you inform the configure script to use your cross-compiler. After
> that,
> the library built should just be linked in with your executable.
>
> Follow the instructions one setting up the environment variables on the
> SCO
> machine. Things should work fine after.
>
> You can join the dmalloc discussion group (sign up from
> http://www.dmalloc.com)
> and post questions there. There are several people who know dmalloc well
> there.
> Archives for the list are at: http://www.egroup.com/list/dmalloc.
>
> Good luck.
>
> -raj
>
>
> After that, I tried specifying my cross compiler by doing this:
>
>
>
> larry@boca06: CC=/stp/egcs.1.1.2a/bin/i386-unknown-sco3.2v2.0-gcc
> larry@boca06: export CC
> larry@boca06: ./configure
> loading cache ./config.cache
> checking configurations for the dmalloc library
> checking build utilities
> checking for gcc... /stp/egcs.1.1.2a/bin/i386-unknown-sco3.2v2.0-gcc
> checking whether the C compiler
> (/stp/egcs.1.1.2a/bin/i386-unknown-sco3.2v2.0-gcc ) works... yes
> checking whether the C compiler
> (/stp/egcs.1.1.2a/bin/i386-unknown-sco3.2v2.0-gcc ) is a
> cross-compiler... yes
> checking whether we are using GNU C... yes
> checking whether /stp/egcs.1.1.2a/bin/i386-unknown-sco3.2v2.0-gcc accepts
> -g... yes
> checking ANSI compiler flags... configure: error: can not run test program
> while cross compiling
> larry@boca06
>
>
> So how is this actually done? There seem to be checks against
> cross-compiling this library, but I want to use it in the target (SCO in
> this case).
>
> Any help or advice is appreciated.
>
> regards,
> Larry Langerholc (561)-997-3789
> e-mail: larry.langerholc@...
>
>
>
>

------------------------------------------------------------------------

eGroups.com home: http://www.egroups.com/group/dmalloc
http://www.egroups.com - Simplifying group communications






Wed Jun 16, 1999 8:14 pm

Larry.Langerholc@...
Send Email Send Email

Forward
Message #76 of 529 |
Expand Messages Author Sort by Date

Last message was mangled - retransmitting ... eGroups.com home: http://www.egroups.com/group/dmalloc http://www.egroups.com - Simplifying group communications...
Langerholc, Larry
Larry.Langerholc@...
Send Email
Jun 16, 1999
8:11 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help