Re: minor BUG for GCC recognizing upper-case of -T option!

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

 



ali hagigat <hagigatali@xxxxxxxxx> writes:

> /root/tmp3> gcc -o prog1.o prog1.c -T prog1.ld
> prog1.c: In function âmainâ:
> prog1.c:4: warning: incompatible implicit declaration of built-in
> function âprintfâ
> as: unrecognized option '-T'
> ----------------------------------------------------------------------
> -t is OK!! but man page of GCC is saying -T is the right option!

This looks like a bug to me.  The -T option should not be passed to the
assembler on GNU/Linux.  Please consider reporting this bug at
http://gcc.gnu.org/bugzilla/ .  Thanks.

Note that -T is listed under "Link Options".  You are using it when
compiling, not linking.  It should work correctly if you use it when
linking and not compiling.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux