This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Interrupt Attribute


Hi All,

I have been trying David Fiddes distribution of GCC (ECGS1.1.2) for my 
68EZ328 project and found that it does not seem to support "__attribute__ 
((interrupt))". I get a warning as shown below that suggests it is not 
implemented. Interestingly Scott Howards distribution (also ECGS 1.1.2) 
does support this. If they are both based on the same version of GCC how 
can one support it and the other not. Maybe Scott has added a patch or 
enabled some option when building the compiler?

Does anyone know why support for long long in printf (%lld) does not work. 
The parser accepts the syntax but the correct values are not output.

Maybe I should look at building the compiler myself so I can ensure the 
options and patches I want have been included?

Regards
David Williams.
davidwilliams@ozemail.com.au

D:\GPHLOG\Source\HeliLog\68ez328_obj>make hal.S
m68k-coff-gcc -S -MMD -v -m68000 -Wall -O2 -I../src -I../../com_inc -g 
-Wa,-alh,
-L ../src/hal.c -o hal.S
Reading specs from \gcc-m68k\lib\gcc-lib\m68k-coff\egcs-2.91.66\specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 \gcc-m68k\lib\gcc-lib\m68k-coff\egcs-2.91.66\cpp.exe -lang-c -v -I../src 
-I../.
./com_inc -MMD hal.d -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -Dmc68000 
-D__embed
ded__ -D__mc68000__ -D__embedded__ -D__mc68000 -Asystem(embedded) 
-Amachine(mc68
000) -D__OPTIMIZE__ -g -Wall ../src/hal.c C:\WINDOWS\TEMP\ccpm4P1Z.i
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (68k, Motorola 
syntax
)
#include "..." search starts here:
#include <...> search starts here:
 ..\src
 ..\..\com_inc
 \gcc-m68k\lib\gcc-lib\m68k-coff\egcs-2.91.66\include
 \gcc-m68k\m68k-coff\include
End of search list.
 \gcc-m68k\lib\gcc-lib\m68k-coff\egcs-2.91.66\cc1.exe 
C:\WINDOWS\TEMP\ccpm4P1Z.i
 -quiet -dumpbase hal.c -m68000 -g -O2 -Wall -version -o hal.S
GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release) (m68k-coff) 
compiled by
 GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
../src/hal.c:50: warning: `interrupt' attribute directive ignored



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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