|
Re: ghc 6.0.1 and Mac OS X 10.2.6 build: msg#00048lang.haskell.glasgow.bugs
Alastair Reid wrote: Tests needing a *target* machine are bad when it comes to I just had a look at GCC 3.3.1's sources and the way this is handled is effectively based on the name of the target platform (which gets magically mapped to some header in gcc/config). I don't think that this brittle because things like this are hardwired into the platform ABI forever, otherwise one would lose binary compatibility. Furthermore, there seem to be some reasonable defaults for unknown or partly known target platforms (e.g. "no underscores for ELF"). Apart from that, I can't see any other solution for this problem. Doing a runtime test on the build/host platform for a feature of the target platform is simply wrong... Cheers, S.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ghc 6.0.1 and Mac OS X 10.2.6 build, Alastair Reid |
|---|---|
| Next by Date: | Re: ghc 6.0.1 and Mac OS X 10.2.6 build, Alastair Reid |
| Previous by Thread: | Re: ghc 6.0.1 and Mac OS X 10.2.6 build, Sven Panne |
| Next by Thread: | Re: ghc 6.0.1 and Mac OS X 10.2.6 build, Alastair Reid |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |