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]

EGCS support


(Originally posted to the gnu-help mailing list)

> 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, should I remove this and get glibc working?
> 
> 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.
or:
../glibc-2.2.2/configure --verbose --build=m68k-unknown-linux --prefix=/gnu
creating cache ./config.cache
checking host system type... i586-pc-cygwin
checking sysdep dirs... configure: error: Operating system cygwin is not
supported.

Do I need a different glibc or can I patch the configure files to accept
cygwin?

> Thanks,
> 
> Mark
> 
>  <<config.log>>  <<print-search-dirs>>  <<specs>>  <<diffs>> 

config.log

print-search-dirs

specs

diffs

------
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]