| 160 | | ___DISCARD__ |
| 161 | | collect2: ld returned 1 exit status |
| 162 | | |
| 163 | | Until GHC 6.4.1 is released, you need to need to issue this command first: |
| 164 | | |
| 165 | | sudo gcc_select 3.3 |
| 166 | | |
| 167 | | Then recompile Pugs using a clean tree. Other users of GCC 4.0 systems |
| 168 | | may also need to switch to GCC 3.3 to compile Pugs for now. |
| 169 | | |
| 170 | | Note that objects compiled with GCC 4.0 can't be linked with GCC 3.3 objects. |
| 171 | | This means that if you're embedding a Parrot you've built with GCC 4.0, Pugs |
| 172 | | will fail during linking with errors like: |
| 173 | | |
| 174 | | ld: Undefined symbols: |
| 175 | | _fprintf$LDBLStub |
| 176 | | _sprintf$LDBLStub |
| 177 | | _vfprintf$LDBLStub |
| 178 | | _snprintf$LDBLStub |
| 179 | | _printf$LDBLStub |
| 180 | | |
| 181 | | Try building a new Parrot with gcc 3.3, then compile Pugs again. |
| | 160 | This applies to Mac OS X 10.4 "Tiger", and all other GCC 4.0 systems. |