[adtools] Re: how to build a new native OS4 gcc?

  • From: Jens Langner <Jens.Langner@xxxxxxxxxxxxxx>
  • To: adtools@xxxxxxxxxxxxx
  • Date: Sun, 24 Feb 2008 21:00:47 +0100

Hello Andrija,

On Sat, 23 Feb 2008 12:03:12 +0100, Andrija Antonijevic wrote:

> On 23-Feb-2008, Andrija Antonijevic wrote:
>
>> On 23-Feb-2008, Jens Langner wrote:
>>> 
>>> as I am currently working on fixing our outstanding issues with
>>> building/creating an updated native OS4 4.2.x gcc compiler, I am
>>> currently having some trouble as I haven't yet built any native
>>> compiler myself and just create linux hosted cross compilers.
> [...]
>> It's been a while since I built a native compiler, but as far as I
>> remember, you need to modify the specs file (-dumpspecs them to the
>> appropriate place if they don't exist) for the cross compiler so that it
>> builds the executables with -lunix (change the *lib: line to add -lunix
>> in front of -lc). Of course, you can change it back/remove the specs
>> file after everything is built.
>
> I just remembered, you can have look at this thread, too:
>
> http://206.53.239.180/archives/adtools/04-2007/msg00007.html

Ah ok, thanks. With that information I was finally able to adapt and built a
new native version of our compiler suite. However, there must be a better way
of specifying additional link libraries when building a native compiler?!?

No matter what, please refer to the latest sources in the trunk and my
comments in the ChangeLog. In addition to the now fixed sources, I also
merged the recently release 4.2.3 version of GCC onto our vendor branches and
trunk.

So we should be in line with the GCC crew again :) Next will be to merge the
AROS gcc changes into our repository so that we can also build aros
compilers/cross-compilers and provide the AROS developers a possibility to
manage their GCC adaptions together with our OS4 adaptions.

cheers,
jens
-- 
Jens Langner                                               Ph: +49-172-4452254
Rißweg 27b
01324 Dresden                                      Jens.Langner@xxxxxxxxxxxxxx
Germany                                            http://www.jens-langner.de/

Job control cards that positively cannot be arranged in improper order will
be.
-- Troutman's postulate

______________________________________________________________________________
Amiga Development tools ML - //www.freelists.org/list/adtools
Homepage...................: http://www.sourceforge.net/projects/adtools
Listserver help............: mailto:adtools-request@xxxxxxxxxxxxx?Subject=HELP

Other related posts: