EGCS support

Mark Keates markk@dendrite.co.uk
Fri May 18 10:14:00 GMT 2001


Does this mailing list cover EGCS questions too?

The link at http://gcc.gnu.org/ml/gcc/1999-02/msg00657.html reads:
"This is the mail archive of the egcs@egcs.cygnus.com mailing list for the
EGCS project. 
See the EGCS home page  ( http://gcc.gnu.org/ ) for more information. "...
which has no references to EGCS, hence the post here.

I'm building a cross m68k-unknown-linux gcc on an i586-pc-cygwin32 host
(egcs-1.1.2).
The 'make cross' process runs upto a point of configuring
m68k-unknown-linux/libiberty.
(see the attached log file). I have some questions on the results I get from
xgcc:
1) (See specs attachment) I'm suspicious of *startfile, what derives this
and how is it interpreted?
2) (See print-search-dirs attachment) Is something corrupting the search
paths? 
   Can this be fixed or doesn't it matter as they refer to the build area?

I have made changes to the gcc/Makefile (listed in diffs attachment).
I'm guessing that because of the linux requirements I need to have glibc
built/installed 
for the target? Hence the addition of -Dinhibit-libc to the LIBGCC2 flags.
Bad idea?

I have been able to successfully build an cross m68k-coff by including 
newlib after setting up a symbolic link and using the configuration option
"--with-newlib".
This gets around the chicken/egg issue, so any ideas of how to get glibc
built
for the m68k-unknown-linux? I've used:
../glibc-2.2.2/configure --verbose --target=m68k-unknown-linux --prefix=/gnu
but this returns that *** The GNU C library is currently not available for
this platform.

Thanks,

Mark

 <<config.log>>  <<print-search-dirs>>  <<specs>>  <<diffs>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-c
Size: 2220 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20010518/04ad116f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffs
Type: text/x-diff
Size: 5556 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20010518/04ad116f/attachment-0001.bin>
-------------- next part --------------
install: /gnu/lib/gcc-lib/m68k-unknown-linux\egcs-2.91.66\
programs: \ngu\egcs\gcc\m68k-unknown-linux\egcs-2.91.66\;\ngu\egcs\gcc\;\gnu\lib\gcc-lib\m68k-unknown-linux\egcs-2.91.66\;\gnu\lib\gcc-lib\m68k-unknown-linux\;\usr\lib\gcc\m68k-unknown-linux\egcs-2.91.66\;\usr\lib\gcc\m68k-unknown-linux\;\gnu\m68k-unknown-linux\bin\m68k-unknown-linux\egcs-2.91.66\;\gnu\m68k-unknown-linux\bin\
libraries: \ngu\egcs\gcc\m68k-unknown-linux\egcs-2.91.66\;\ngu\egcs\gcc\;\gnu\lib\gcc-lib\m68k-unknown-linux\egcs-2.91.66\;\usr\lib\gcc\m68k-unknown-linux\egcs-2.91.66\;\gnu\m68k-unknown-linux\lib\m68k-unknown-linux\egcs-2.91.66\;\gnu\m68k-unknown-linux\lib\
-------------- next part --------------
*asm:
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} %{m68040} %{m68060:-m68040}

*asm_final:
%|

*cpp:
%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{!msoft-float:-D__HAVE_68881__} %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}

*cc1:
%{profile:-p}

*cc1plus:


*endfile:
%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s

*link:
-m m68kelf %{shared}   %{!shared:     %{!static:       %{rdynamic:-export-dynamic}       %{!dynamic-linker*:-dynamic-linker /lib/ld.so.1}}     %{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 -Dmc68000 -Dmc68020 -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(m68k) -Amachine(m68k)

*cross_compile:
1

*version:
egcs-2.91.66

*multilib:
. ;

*multilib_defaults:


*multilib_extra:


*multilib_matches:


*linker:
collect2



More information about the Gcc-help mailing list