Re: no Hello World!!



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

.



Relevant Pages

  • Re: pros/cons of installing from source
    ... However debian is not the only distro with such commitment. ... I think that the packaging policy is what really sets debian ... developers, the admin of the system is the developer at the same time, ... and he/she is the one deciding what to compile against (libraries, ...
    (Debian-User)
  • ASUS A7N8X Deluxe Questions
    ... I was trying to get Debian working properly on my ... This was traced to an apparent need to compile a 2.4.22 kernel (I was ... with a Knoppix CD so I could write down my partition info. ...
    (Debian-User)
  • computer freezes, no obvious reason
    ... I recently installed debian stable. ... and compiled myself the latest kernel version: ... When I try to compile something with g++ every now and then I get the ... 00:0f.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev ...
    (Debian-User)
  • Re: VMWare player: why no package?
    ... a similar program 'Virtual Box' is packaged for Debian. ... I had to rebuild the kernel because VMWare Player requires certain ... installer will then try to compile them, but they GCC build has to match the ...
    (Debian-User)
  • Re: Suggestions Invited
    ... I was once a Gentoo fan for its emerge and quick releases, ... Debian is all about being easy to get up and keep up. ... > having to compile every little obscure library for a point update. ... > about dependencies making an upgrade of gnome or kde nearly impossible. ...
    (Debian-User)