This is the mail archive of the crossgcc@sourceware.org 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]
Other format: [Raw text]

Re: i686-apple-darwin10 to i386-pc-linux-gnu, ld invoked with gnu options


Hi Bryan, thanks for the quick reply.

2011/6/23 Bryan Hundven <bryanhundven@gmail.com>:

> Hah, looking at that email what I see is someone sending the list some
> patches, and Yann saying "no".
> So it doesn't seem to be good.

Sorry I missed the reply, I should have read more carefully.

>> To the best of my knowledge, this means Apple's ld is being invoked
>> using GNU options, which is clearly wrong. I'm using ct-ng 1.11.3 and
>> its Makefile is at http://www.morpheu5.net/public/Makefile-20110623-0
> Um. Apples 'ld' is not gnu/binutils, and that is what the crosstool-ng
> build expects.

Uhm, yes, I know, that's why I said it's clearly wrong. But the real
problem here is that I'm building using darwin, hence I have Apple's
tool that are darwin and/or bsd, not gnu.

> Please read:
> http://crosstool-ng.org/hg/crosstool-ng/file/8bb5151c5b01/docs/C%20-%20Misc.%20tutorials.txt#l41

Yes, I read that, but it's suggesting I install binutils from MacPorts
(which is discouraged by MacPorts itself) and a gnu gcc, hence having
me jump back and forth when I need to do regular development and
building cross toolchains, as that doc seems to suggest that ct-ng
calls gcc by "gcc", not by its full name.

In the end, I thought that ct-ng used native tools to build "native"
tools (ie to build a cross toolchain that runs on $BUILD). while it
seems not to. In that email with the patches, Yann's reply was "find
an option switch that works for both", which doesn't seem a reasonable
assumption to me: we're dealing with different tools, we should expect
them to behave differently and take this into account.

-- 
Andrea

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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