bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: objcopy -O binary (on cygwin)


From: Nick Clifton
Subject: Re: objcopy -O binary (on cygwin)
Date: Mon, 09 Feb 2004 12:20:02 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux)

Hi lode.leroy,

> While compiling GRUB on cygwin,
>     objcopy -O binary
> does not seem to do what it's supposed to do.

Please could you provide some more information about what you are
expecting objcopy to do in this case.  ie what is going wrong ?

> gcc -c   -g  conftest.c
> gcc   -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,8000 conftest.o -o \
> conftest.exec
> objcopy -O binary conftest.exec conftest
> cmp -l conftest conftest.old
> gcc   -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,7C00 conftest.o -o \
> conftest.exec
> objcopy -O binary conftest.exec conftest
> cmp -l conftest.old conftest

How does this configure test fail ?

Cheers
        Nick
        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]