Jump to content
  • 0
Sign in to follow this  
Originale

Up gcc42 to gcc48

Question

Hi to all

I try for 2 days but without success install gcc48

 

Who can help me to install it or have a tutorial

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

pkg_add -r gcc48

or

cd /usr/ports/lang/gcc48 && make install clean

Share this post


Link to post
  • 0

That's not all. Edit /etc/libmap.conf and /etc/make.conf.

 

Tutorial:

http://www.freebsd.org/doc/en/articles/custom-gcc/article.html

 

You can just edit the Makefile to use gcc48.

 

The article only applies to the ports tree.

For Metin2 it is already enough to edit the Makefiles and replace c++ with g++48 etc.

The runtime linker will be able to find and use the libs from your gcc48 installation. You only need to add rpaths or use ldconfig if you plan to use your compiled binaries somewhere where you don't have gcc48 installed.

 

Kind Regards,

Tim

  • Love 2

Share this post


Link to post
  • 0

That's what I wrote in the last line.

 

"You can just edit the Makefile to use gcc48".

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.