I'm sure you'll not believe me, but it's NOT an April Fool.

$ uname -a
FreeBSD freebsd64.eligis.com 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0
r306420: Thu Sep 29 01:43:23 UTC 2016
r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
$ gcc -m32 --print-file-name=crt1.o
/usr/lib/crt1.o
$ gcc -m64 --print-file-name=crt1.o
/usr/lib/crt1.o
$ gcc --print-file-name=crt1.o
/usr/lib/crt1.o
$ find /usr -name crt1.o
/usr/lib32/crt1.o
/usr/lib/crt1.o

-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org]
On Behalf Of Michael Matz
Sent: jeudi 20 octobre 2016 17:23
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] core dump on FreeBSD with last commit
"configure: --triplet= option, Makefile: cleanup"

Hello Christian,

On Wed, 19 Oct 2016, Christian Jullien wrote:

> x86_64:
> $ uname -m
> amd64
> $ gcc --print-file-name=crt1.o
> /usr/lib/crt1.o
> $ find /usr -name crt1.o
> /usr/lib32/crt1.o
> /usr/lib/crt1.o

Aha!  So they chose the opposite way to the linuxes.  Okay, that helps,
thanks.  Can you verify that

% gcc -m32 --print-file-name=crt1.o

gives /usr/lib32/crt1.o ?


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to