* gcc-3.4.6
@ 2006-04-28 23:17 Bill Cunningham
2006-05-01 22:20 ` gcc-3.4.6 Kai Ruottu
0 siblings, 1 reply; 2+ messages in thread
From: Bill Cunningham @ 2006-04-28 23:17 UTC (permalink / raw)
To: gcc-help
i want to compile gcc-3.4.6 for a pdp-11 on my i686 machine.
The --target=pdp11 doesn't work for some reason. Does anyone know what I am
or am not doing right?
Bill
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc-3.4.6
2006-04-28 23:17 gcc-3.4.6 Bill Cunningham
@ 2006-05-01 22:20 ` Kai Ruottu
0 siblings, 0 replies; 2+ messages in thread
From: Kai Ruottu @ 2006-05-01 22:20 UTC (permalink / raw)
To: Bill Cunningham; +Cc: gcc-help
Bill Cunningham kirjoitti:
> i want to compile gcc-3.4.6 for a pdp-11 on my i686 machine.
> The --target=pdp11 doesn't work for some reason. Does anyone
> know what I am or am not doing right?
When not at all understanding what you was trying to do and what
problems you had, I myself tried the 'no-opsys' pdp11 target with
my local gcc-3.4.6 sources but saw no problems with GCC itself :
/data1/home/src/gcc-3.4.6/build/gcc # ls -l xgcc cc1* collect2
-rwxr-xr-x 1 root root 2040166 May 1 23:17 cc1*
-rwxr-xr-x 1 root root 2454757 May 1 23:20 cc1plus*
-rwxr-xr-x 1 root root 94931 May 1 23:20 collect2*
-rwxr-xr-x 1 root root 90706 May 1 23:20 xgcc*
/data1/home/src/gcc-3.4.6/build/gcc # ./xgcc -v
Using built-in specs.
Thread model: single
gcc version 3.4.6 (by karuottu@mbnet.fi)
I really don't know what your goal is but the previous was just what
I expected to get for this target...
But I have no information for the following:
- what is the C library used for this "pdp11" target? There is also that
'pdp11-bsd' target :
pdp11-*-bsd)
tm_file="${tm_file} pdp11/2bsd.h"
use_fixproto=yes
;;
pdp11-*-*)
use_fixproto=yes
;;
not only the 'pdp11-none' (no opsys) I used in my experiment and maybe
it has its own BSD C library available somewhere.... I remember DEC's
own 'RSX-11', 'RSTS-E' etc. opsyses for PDP-11 but seemingly GCC
has no support for them.
Trying binutils-2.16.91.0.7 for this target gave though :
configure: error: GAS does not know what format to use for target
pdp11-unknown-none
make[1]: *** [configure-gas] Error 1
The binutils subdir succeeded however and 'objdump --help' gave :
./objdump: supported targets: a.out-pdp11 srec symbolsrec tekhex binary ihex
./objdump: supported architectures: pdp11
so the default object format seems to be 'aout'... Trying 'ld' with
'make all-ld' however
succeeded :
/data1/home/src/binutils-2.16.91/build/ld # ./ld-new -V
GNU ld version 2.16.91.0.7 20060317
Supported emulations:
pdp11
So getting 'gas' was the only problem seen. And the C library question
was left totally
open, no support in newlib or glibc for "bare pdp11 with 'aout' format"...
Here were my results with this target. It could require some
elaboration from Bill
before the claim "The --target=pdp11 doesn't work for some reason."
could become
more clear... The 'gas/config' had those 'tc-pdp11.c/h' files, so some
support exists
there but is now broken somehow...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-01 22:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-28 23:17 gcc-3.4.6 Bill Cunningham
2006-05-01 22:20 ` gcc-3.4.6 Kai Ruottu
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).