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