public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/98754] New: gnatmake no longer recognizes -P option
@ 2021-01-19 21:04 emr-gnu at hev dot psu.edu
  2021-01-19 21:11 ` [Bug ada/98754] " charlet at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: emr-gnu at hev dot psu.edu @ 2021-01-19 21:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98754

            Bug ID: 98754
           Summary: gnatmake no longer recognizes -P option
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: emr-gnu at hev dot psu.edu
  Target Milestone: ---

Using 10.2.0, "gnatmake -Pfoo" does not appear to be a valid command line
anymore.  Contents of foo.gpr:

project foo is
   for Source_Dirs use (".");
   for Object_Dir use "./build";
   for Exec_Dir use ".";
   for Main use ("hello");

   package Compiler is
      for Default_Switches ("Ada")
          use ("-fstack-check",
               "-ffloat-store",
               "-msse2",
               "-mfpmath=sse",
               "-O0",
               "-gnatws",
               "-gnatE",
               "-gnato");
   end Compiler;
end foo

I would expect gnat to start building the program defined by "hello", but
instead I receive:

try "gnatmake-10.2 --help" for more information.

----------------------------

Configured with: -v --enable-languages=c,c++,ada,fortran
--prefix=/opt/gcc-10.2.0 --program-suffix=-10.2 --enable-shared
--enable-linker-build-id --with-system-zlib --libexecdir=/opt/gcc-10.2.0/lib
--without-included-gettext --enable-threads=posix --libdir=/opt/gcc-10.2.0/lib
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify
--enable-default-pie --enable-plugin --with-arch-32=i686
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu --disable-nls --wihtout-cuda-driver --enable-libada

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/98754] gnatmake no longer recognizes -P option
  2021-01-19 21:04 [Bug ada/98754] New: gnatmake no longer recognizes -P option emr-gnu at hev dot psu.edu
@ 2021-01-19 21:11 ` charlet at gcc dot gnu.org
  2021-01-19 21:53 ` emr-gnu at hev dot psu.edu
  2021-01-19 21:54 ` emr-gnu at hev dot psu.edu
  2 siblings, 0 replies; 4+ messages in thread
From: charlet at gcc dot gnu.org @ 2021-01-19 21:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98754

Arnaud Charlet <charlet at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
                 CC|                            |charlet at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
Yes, that's as expected: support for project files has been moved entirely to
gprbuild. If you have gprbuild in your path, gnatmake -Pproject will call
gprbuild -Pproject.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/98754] gnatmake no longer recognizes -P option
  2021-01-19 21:04 [Bug ada/98754] New: gnatmake no longer recognizes -P option emr-gnu at hev dot psu.edu
  2021-01-19 21:11 ` [Bug ada/98754] " charlet at gcc dot gnu.org
@ 2021-01-19 21:53 ` emr-gnu at hev dot psu.edu
  2021-01-19 21:54 ` emr-gnu at hev dot psu.edu
  2 siblings, 0 replies; 4+ messages in thread
From: emr-gnu at hev dot psu.edu @ 2021-01-19 21:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98754

--- Comment #2 from Eric Reischer <emr-gnu at hev dot psu.edu> ---
In that case, this is not a RESOLVED WONTFIX -- this is still open.  The
documentation and output of "gnatmake --help" need to be updated to reflect the
fact this is no longer a valid command line option.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/98754] gnatmake no longer recognizes -P option
  2021-01-19 21:04 [Bug ada/98754] New: gnatmake no longer recognizes -P option emr-gnu at hev dot psu.edu
  2021-01-19 21:11 ` [Bug ada/98754] " charlet at gcc dot gnu.org
  2021-01-19 21:53 ` emr-gnu at hev dot psu.edu
@ 2021-01-19 21:54 ` emr-gnu at hev dot psu.edu
  2 siblings, 0 replies; 4+ messages in thread
From: emr-gnu at hev dot psu.edu @ 2021-01-19 21:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98754

--- Comment #3 from Eric Reischer <emr-gnu at hev dot psu.edu> ---
(Or some other more descriptive error indicating "gprbuild" was not found on
the path, rather than acting as though you have borked the command-line
options.)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-19 21:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 21:04 [Bug ada/98754] New: gnatmake no longer recognizes -P option emr-gnu at hev dot psu.edu
2021-01-19 21:11 ` [Bug ada/98754] " charlet at gcc dot gnu.org
2021-01-19 21:53 ` emr-gnu at hev dot psu.edu
2021-01-19 21:54 ` emr-gnu at hev dot psu.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).