Re: no Hello World!!
- From: rwittenberg@xxxxxxxxxxxxxxx
- Date: 19 Mar 2007 15:43:48 -0700
I want to be able to compile with my Fedora Core 6 system and run the
executable on my Debian Woody system. I used to compile on a Red Hat
9.0 box and run on Debian Woody earlier and that worked just fine.
Here is what I see in the 2 scenarios.
Case 1 (compiled on FC6 run on Debian):
On compiling on FC6 and
on FC6
#ldd a.out
linux-gate.so.1 => (0x0057f000)
libc.so.6 => /lib/libc.so.6 (0x00ad0000)
/lib/ld-linux.so.2 (0x00ab3000)
After transfering file
on Debian
#ldd a.out
/usr/bin/ldd: line 1: 3164 Floating point
exceptionLD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW=
LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$file"
Case 2 (compiled on RH9 and run on Debian):
On compiling on RH9 and
Running on RH9
# ldd a.out
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
After transfering file
on Debian
# ldd a.out
libc.so.6 => /lib/tls/libc.so.6 (0xb7e27000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7f62000)
-RWit
.
- Follow-Ups:
- Re: no Hello World!!
- From: Tauno Voipio
- Re: no Hello World!!
- From: Jens Thoms Toerring
- Re: no Hello World!!
- From: Floyd L. Davidson
- Re: no Hello World!!
- References:
- no Hello World!!
- From: rwittenberg
- Re: no Hello World!!
- From: Jens Thoms Toerring
- Re: no Hello World!!
- From: rwittenberg
- Re: no Hello World!!
- From: Jens Thoms Toerring
- no Hello World!!
- Prev by Date: Re: How to write a program to track the value of a certain variable at run-time using debug features???
- Next by Date: Re: no Hello World!!
- Previous by thread: Re: no Hello World!!
- Next by thread: Re: no Hello World!!
- Index(es):
Relevant Pages
|