#12253 closed enhancement (fixed)
libnc-dap: always use gcc42, not just on i386
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | tenomoto (Takeshi Enomoto), basmac | |
Port: |
Description
libnc-dap uses gcc40 on powerpc and gcc42 on i386. I imagine that gcc40 was used on powerpc because it was the latest stable release at the time, and gcc42 was used on i386 because earlier gccs don't work on Intel Macs. But now that gcc42 is out of beta, it should be used always. I'll attach a patch.
Attachments (2)
Change History (8)
Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | libnc-dap.diff added |
---|
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… takeshi@… added |
---|
Changed 17 years ago by takeshi@…
comment:2 Changed 17 years ago by takeshi@…
This is a supporting library for netcdf+OPeNDAP clients and servers. It looks OK with g95... I don't use gfortran. Would be nice if someone could test with gcc42.
comment:3 Changed 17 years ago by nox@…
Priority: | Expected → Normal |
---|---|
Type: | defect → enhancement |
Version: | 1.4.42 |
comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | takeshi@… barry.j.mcinnes@… added; ryandesign@… takeshi@… removed |
---|
Has duplicate #13863.
comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I think it's time this fix was committed. It works for me on i386 with gcc42. It works for the maintainer with g95; see comment 2. Unfortunately nobody tested it on powerpc, but I believe the fix is correct, so I committed it in r33937.
Please wait 12 hours, then "sudo port selfupdate
" and try to install or upgrade libnc-dap, as appropriate. If you're on powerpc, it would be appreciated if you would add a note saying whether this worked or not. Thanks.
comment:6 Changed 16 years ago by (none)
Milestone: | Port Enhancements |
---|
Milestone Port Enhancements deleted
The patch libnc-dap.diff does the following things:
Note that I have not tested this patch, because I do not use the libnc-dap software. Please test the patch to ensure it works, and then commit it. (If you don't have commit access, let me know and I'll be happy to commit it.)