bug-binutils
[Top][All Lists]
Advanced

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

objcopy -O binary (on cygwin)


From: lode . leroy
Subject: objcopy -O binary (on cygwin)
Date: Wed, 4 Feb 2004 14:44:14 +0100 (CET)
User-agent: SquirrelMail/1.4.1

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

Are you guys aware of this?
Is there a known sollution/patch available?

below the part of "configure" that fails...

-- lode


cat > conftest.c <<\EOF
void
cmain (void)
{
   *((int *) 0x1000) = 2;
}
EOF

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



----------------------------------------------------------------------------------
Plaats je zoekertjes GRATIS op AdValvas
Placez votre petite annonce GRATUITEMENT sur AdValvas
http://www.advalvas.be




reply via email to

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