This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: BSDI 4.0 egcs 1.12


-----BEGIN PGP SIGNED MESSAGE-----

Hi.. I guess it's part of their recent switch from a.out to elf binary
formats.. http://www.BSDI.COM/resources/elf_faq

I tried both the stock (gnu) as and the latest from GNU.. (binutils)
trying to graft elf support into your development tools. I'm not really able to
get it working past stage1 build.

/usr/local/src/egcs-1.1.2/config.guess:

i386-pc-bsdi4.0

# This directory was configured as follows:
/usr/local/src/egcs-1.1.2/configure --with-gcc-version-trigger=/usr/local/src/eg
cs-1.1.2/gcc/version.c --host=i386-pc-bsdi4.0 --verbose --norecursion 

it's loading 386bsd.h and bsd386.h 

I compared to BSDI's 4.0 build of gcc (2.7.2.1) 

and attempted to modify bsd386.h to correspond to some of BSDI's changes to gcc
2 ..
#define CPP_PREDEFINES "-Dunix -D__i386__ -Di386 -D__bsdi__ -Dbsdi -D__ELF__ -As
ystem(unix) -Asystem(bsd) -Acpu(i386) -Amachine(i386)"


#undef LINK_SPEC
#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
 %{!shared: \
  %{!static: \
    %{rdynamic:-export-dynamic} \
    %{!dynamic-linker:-dynamic-linker /shlib/ld-bsdi.so}} \
    %{static:-static}}"

#define DWARF2_UNWIND_INFO 1 /* Now BSDI 4 uses elf) */

Anyway it's just too much for me right now. I've got a rough schedule now and I
am not a compiler developer..

Len

On 24-Mar-99 Jeffrey A Law wrote:
> 
>   In message <36F7D20A.978CA315@netsys.com>you write:
>   > Am unable to build this under BSDI 4.0.. During make bootstrap,
>   > this fails with:
> What target triplet are you using?  ie, what is the output from running
> config.guess?
> 
> What assembler are you using?
> 
> jeff


len@netsys.com
http://www.netsys.com

-----BEGIN PGP SIGNATURE-----
Version: 2.6.1

iQCVAwUBNvh9G4ef0OvUNu5PAQGBaAQAm+svNHDzTZ06k75RfP0RpJUXg4cCQXHt
dLvZGvf02sTRC3A6kbSRaOMastCk93oUbaKZSDjAgz4zFnDssoSNmRxiISdfHi4X
UkvHSZ6YMe3Hv7DprfHqpaW3Bl8aDmakmyCZI5Z1TaprCVGY0BuC+kstnv2JjvWM
rGR8Fgsp8dk=
=idOO
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]