Mail Archives: pgcc/2000/01/25/17:31:47
Hello,
I have compiled the pgcc-2.95.2 on a Mobile Pentium II only with 'make
bootstrap'.
After that I compiled XFree86 3.3.3 and MICO and ORBacus without any
problems
with the flags -mcpu=pentium and -march=pentium. This executables works
also
fine on a Celeron. Executing these executables on a Mobile Pentium MMX
(Tillamook)
failed with an 'Illegal Instruction' message.
Thanks
Christoph
Here some information about the configuration:
demo AT bibo:~ > gcc -v
Reading specs from
/opt/gnu/gcc-2.95.2/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/specs
gcc version pgcc-2.95.2 19991024 (release)
demo AT bibo:~ > cat
/opt/gnu/gcc-2.95.2/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/specs
*asm:
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}
*asm_final:
%|
*cpp:
-I/opt/X11R6/include %(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__}
%{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}
%{pthread:-D_REENTRANT}
*cc1:
-mcpu=pentium -march=pentium %(cc1_cpu) %{profile:-p}
*cc1plus:
*endfile:
%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s
*link:
-rpath /opt/gnu/gcc-2.95.2/lib -L/opt/X11R6/lib -rpath /opt/X11R6/lib -m
elf_i386 %{shared:-shared} %{!shared: %{!ibcs: %{!static:
%{rdynamic:-export-dynamic} %{!dynamic-linker:-dynamic-linker
/lib/ld-linux.so.2}} %{static:-static}}}
*lib:
%{shared: -lc} %{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread}
%{profile:-lc_p} %{!profile: -lc}}
*libgcc:
-lgcc
*startfile:
%{!shared: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s}
%{!p:%{profile:gcrt1.o%s}
%{!profile:crt1.o%s}}}} crti.o%s %{!shared:crtbegin.o%s}
%{shared:crtbeginS.o%s}
*switches_need_spaces:
*signed_char:
%{funsigned-char:-D__CHAR_UNSIGNED__}
*predefines:
-D__ELF__ -Dunix -D__i386__ -Dlinux -Asystem(posix)
*cross_compile:
0
*version:
pgcc-2.95.2
*multilib:
. ;
*multilib_defaults:
*multilib_extra:
*multilib_matches:
*linker:
collect2
*cpp_486:
%{!ansi:-Di486} -D__i486 -D__i486__
*cpp_586:
%{!ansi:-Di586 -Dpentium} -D__i586 -D__i586__ -D__pentium
-D__pentium__
*cpp_k6:
%{!ansi:-Di586 -Dk6} -D__i586 -D__i586__ -D__k6 -D__k6__
*cpp_686:
%{!ansi:-Di686 -Dpentiumpro} -D__i686 -D__i686__ -D__pentiumpro
-D__pentiumpro__
*cpp_cpu_default:
%(cpp_686)
*cpp_cpu:
-Acpu(i386) -Amachine(i386) %{!ansi:-Di386} -D__i386 -D__i386__
%{m486:%(cpp_486)} %{mcpu=i486:%(cpp_486)} %{mk5:-Dpentium -Di586}
%{mcpu=k5:-Dpentium -Di586} %{mk6:-Dpentium -Di586} %{mcpu=k6:-Dpentium
-Di586} %{m6x86:-Dpentium -Di586} %{mcpu=6x86:-Dpentium -Di586}
%{m6x86mx:-Dpentium -Di586} %{mcpu=6x86mx:-Dpentium -Di586}
%{mpentium:%(cpp_586)} %{mcpu=pentium:%(cpp_586)}
%{mpentiumpro:%(cpp_686)} %{mcpu=pentiumpro:%(cpp_686)}
%{mcpu=k6:%(cpp_k6)} %{!mcpu*:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}
*cc1_cpu:
%{!mcpu*: %{m386:-mcpu=i386} %{m486:-mcpu=i486}
%{mpentium:-mcpu=pentium} %{mno-pentiumpro:-mcpu=pentium} %{mk5:-mcpu=k5
-march=i486} %{mk6:-mcpu=k6 -march=i486} %{m6x86:-mcpu=6x86 -march=i486}
%{m6x86mx:-mcpu=6x86 -march=pentiumpro} %{mpentiumpro:-mcpu=pentiumpro}}
%{ffast-math:%{!mieee-fp:-mno-ieee-fp}}
*link_command:
%{!fsyntax-only: %{!c:%{!M:%{!MM:%{!E:%{!S:%(linker) %l %X %{o*} %{A}
%{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t} %{u*}
%{x} %{z} %{Z}
%{!A:%{!nostdlib:%{!nostartfiles:%S}}} %{static:}
%{L*} %D %o %{!nostdlib:%{!nodefaultlibs:%G %L %G}}
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*}
}}}}}}
--
-------------------------------------------------------------------------------
Christoph Weyer Fachhochschule Wiesbaden, Dep. of Computer
Science
Kurt-Schumacher-Ring 18 Tel.: (+49)611-9495221 \ /
65197 Wiesbaden, Germany ____00
EMail: Christoph DOT Weyer AT informatik DOT fh-wiesbaden DOT de /|___/\/
http://wwwvs.informatik.fh-wiesbaden.de/ |" |
-------------------------------------------------------------------------------
- Raw text -