Updated linux buildscripts in sticky at the top

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Updated linux buildscripts in sticky at the top

Now it builds avr-gcc-4.2.2 , with binutils-2.1.8 and avr-libc-2.1.7.

Have a look here
https://www.avrfreaks.net/index.p...

And Jörg's announcement.
https://www.avrfreaks.net/index.p...

And the discussions thread
https://www.avrfreaks.net/index.p...

Quote:
If you are not yet ready for avr-gcc-4.2.2....

I did also include an old 4.12/2.17 script , where the patchfiles are included. As they have been moved away from their old repository positions.

I have not made a testbuild , but expect it to work.
Just omit the get-patches step , they are allready in the archive.

Quote:

I have not yet verified with Jörg , if this patch is not needed anymore , but it's not in the repository.

#gcc-patch-attribute_alias.diff <---- !! Removed in 4.2.2

So this might be an "Early version" 8) 8)

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A little hint for running dual/many versions ....

Suppose you allready have avr-gcc-4.1.2 installed in /usr/local/avr , and wants to preserve it.

I would just rename (mv) the directory /usr/local/avr to /usr/local/avrgcc-4.1.2

Then i would build the new avr-gcc-4.2.2 in /usr/local/avr.

Then i would rename the new /usr/local/avr to /usr/local/avr-gcc-4.2.2.

Now i would "symlink" (ln -s) the /usr/local/avr to either /usr/local/avr-gcc-4.1.2 or /usr/local/avr-gcc-4.2.2 , and i can switch environment with a 1 line command.

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just remember to remove the symlink before you build the next version .... ;)

Great work Bingo!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Bingo600 wrote:
Updated linux buildscripts in sticky at the top

Now it builds avr-gcc-4.2.2 , with binutils-2.1.8 and avr-libc-2.1.7.

Have a look here
https://www.avrfreaks.net/index.p...

And Jörg's announcement.
https://www.avrfreaks.net/index.p...

And the discussions thread
https://www.avrfreaks.net/index.p...

Quote:
If you are not yet ready for avr-gcc-4.2.2....

I did also include an old 4.12/2.17 script , where the patchfiles are included. As they have been moved away from their old repository positions.

I have not made a testbuild , but expect it to work.
Just omit the get-patches step , they are allready in the archive.

Quote:

I have not yet verified with Jörg , if this patch is not needed anymore , but it's not in the repository.

#gcc-patch-attribute_alias.diff <---- !! Removed in 4.2.2

So this might be an "Early version" 8) 8)

/Bingo

Jörg just confirmed that the below patch is incorporated in gcc-4.2.2 , so there is no need for this patch anymore

/Bingo

gcc-patch-attribute_alias.diff <---- !! Removed in 4.2.2