This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc binary format output


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
> Kai Ruottu escribió: for where the bug could be :-)  Otherwise I
> will stop all the further build tries and maybe can give
> misinformation about the binutils/GCC situation with FreeBSD/x86_64
> when not being informed that the bug was fixed already...
Thanks for your feedback Kai. In the binutils mailing list has been
sent a patch that fixes the problem. The URL for anyone interested in
it is:

http://www.sourceware.org/ml/binutils/2006-07/msg00192.html

An example of binutils-2.17 with patch applied:

root@localhost ~ # gcc -static test.c -o test
root@localhost ~ # ./test
it works!
root@localhost ~ # file test
test: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for
FreeBSD 6.1, statically linked, for FreeBSD 6.1, not stripped
root@localhost ~ #


Regards,
- --
Victor Roman Archidona

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
 
iD8DBQFEuPUoQ/ddYKMfqaARAuOvAKCFyN7MtdW/ZdnpGMTeecLb4B1XCwCgj0iV
MyMxa/7cTWZVLTpAnlD5yJY=
=9Rru
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]