This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Try adding -E and see what the preprocessed source looks like.
# 1 "test.c" # 1 "<built-in>" # 1 "<command line>" # 1 "test.c" # 1 "/usr/local/lib/gcc-lib/arm-elf/3.3/include/stdlib.h" 1 3 4
# 1 "/usr/local/lib/gcc-lib/arm-elf/3.3/include/stddef.h" 1 3 4 # 213 "/usr/local/lib/gcc-lib/arm-elf/3.3/include/stddef.h" 3 4 typedef long unsigned int size_t; # 6 "/usr/local/lib/gcc-lib/arm-elf/3.3/include/stdlib.h" 2 3 4 # 2 "test.c" 2
int main(int argc, char *argv[]) { int a = abs(-3);
return a; }
What version of gcc and newlib are you using?
-- Bryce Schober Design Engineer Dynon Avionics, Inc. www.dynonavionics.com
--- [This E-mail scanned for viruses by digiposs.com]
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |