http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46694

           Summary: driver does not pass all options to the compiler gnat1
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: rolf.ebert....@gmx.de


When invoking the compiler through the following command line, it does not pass
the options '-g' '-gnatn' '-gnatpg' '-mmcu=avr2' the compiler gnat1.

$ avr-gcc -c -v -v -g -Os -gnatn -gnatpg -mmcu=avr2 -I- s-bitops.adb
Using built-in specs.
Target: avr
Configured with: ../gcc-4.4.5/configure --prefix=/mingw/avr_44_gnat
--target=avr
 --enable-languages=ada,c,c++ --with-dwarf2 --disable-nls --disable-libssp
--dis
able-libada --with-bugurl=http://avr-ada.sourceforge.net
--with-gmp=/mingw/avr_4
4_gnat --with-mpfr=/mingw/avr_44_gnat
Thread model: single
gcc version 4.4.5 (GCC)
COLLECT_GCC_OPTIONS='-c' '-v' '-v' '-g' '-Os' '-gnatn' '-gnatpg' '-mmcu=avr2'
 c:/programme/msys_1.0/mingw/avr_44_gnat/bin/../libexec/gcc/avr/4.4.5/gnat1.exe
-quiet -dumpbase s-bitops.adb -Os adainclude/s-bitops.adb -o
C:\DOKUME~1\Rolf\LOKALE~1\Temp\ccKFxRRh.s
s-bitops.adb:40:01: descendents of package System may not be compiled


Cross checking a command line that calls cc1 passes all options on to the
compiler.

Where should I start to look at in the driver?  The specs file doesn't exist
anymore.

   Rolf

Reply via email to