how to test with gcc 4.2?
Joe Marcus Clarke
marcus at marcuscom.com
Sat Jan 27 16:59:57 EST 2007
Oliver Lehmann wrote:
> Pav Lucistnik wrote:
>
>> Oliver Lehmann píše v so 27. 01. 2007 v 09:05 +0100:
>>> Hi,
>>>
>>> I tried to test my ports with gcc 4.2 and compiled gcc42 with tinderbuild
>>> first. After that I've put USE_GCC=4.2 into my etc/env/build.<buildname>
>>> But somehow tinderbuild didn't want to build anything.... any ideas?
>> Grab kan's patches
>>
>> http://people.freebsd.org/~kan/gcc41.shar
>>
>> and apply them to a HEAD src tree. Then build yourself a new 'jail' with
>> these sources.
>
> Hm, but it must work with USE_GCC too or? I mean, that is the suggested
> way when you want to try to test the port on a non-HEAD tree.... so I
> wonder why it didn't worked with tinderbox
You can't add USE_* variables to make.conf or the environment. Those
should only be found in Makefiles. You would need to copy the compiled
port bits into your desired Build or Jail, then add
CC=/usr/local/bin/gcc42 and CXX=/usr/local/bin/g++42 to your build or
jail.env.
When I get to adding hooks to TB, this should be a bit easier to do.
Joe
>
>
--
PGP Key : http://www.marcuscom.com/pgp.asc
More information about the tinderbox-list
mailing list