delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/28/10:29:11

Date: Mon, 28 Mar 94 16:22:22 +0200
From: kuku AT acds DOT physik DOT rwth-aachen DOT de (Christoph Kukulies)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: cross compiling/linking

Has anyone succeeded in building a cross development platform
for djgpp under one of the free unices (FreeBSD, e.g.)?

I built binutils-2.2.1 and gcc-2.5.8 and still have problems with ld.
I applied the diffs coming with 1.11 by hand to the appropriate files
in the binutils subdirectories (bfd, ld, ...). I moved the ld
to /usr/local/lib/gcc-lib/i386-FreeBSD-go32/2.5.8/ld (where the specs
also are) but ld still dumps core (in aout32.c (inlucded file aoutx.h) at
a location which reads:

  else if (bfd_is_com_section (bfd_get_output_section (cache_ptr))) {

These are macros and one of the pointers is zero. 

I can use nm, ar, ranlib to manipulate the libraries libc.a etc.

Anyone gone through this?



--Chris  Christoph P. U. Kukulies    kuku AT acds DOT physik DOT rwth-aachen DOT de	 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019