Ticket #7315 (closed defect: fixed)
NEW: prc-tools-2.3
| Reported by: | cssdev@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.2 |
| Keywords: | Cc: | markd@…, jeffcorbets@… | |
| Port: |
Description
prc-tools-2.3
Portfile is ATTACHED
Description: The prc-tools collection provides C and C++ compiling tools for creating applications for the PalmOS. It's comprised of many patches applied to gcc and other gnu tools.
Homepage: http://prc-tools.sourceforge.net/
Comments: I've wanted to play around with prc-tools for a while, but I never got around to doing so. The build involves grabbing several other packages and applying custom patches. I have things setup so that these patches are applied before any DarwinPorts patches. That might not be the best approach (post-extract versus post-patch?).
Also, it's important to note that the PalmOS SDK must be downloaded from PalmSource manually by the user. I'm not yet sure the best approach for handling this part of the configuration.
Unfortunately, the build fails at the moment. Perhaps this Portfile can serve as a starting point.
Attachments
Change History
comment:1 Changed 7 years ago by cssdev@…
I used gcc_select 3.3, now things seem to be making more progress. This port might require building with gcc 3.
comment:3 Changed 7 years ago by jeffcorbets@…
When I ran the latest portfile, I received the following error during bootstrapping: /opt/local/var/db/dports/build/_opt_local_var_dports-dev_palm_prc-tools/work/prc-tools-2.3/arm-palmos/gcc/gcc/xgcc -B/opt/local/var/db/dports/build/_opt_local_var_dports-dev_palm_prc-tools/work/prc-tools-2.3/arm-palmos/gcc/gcc/ -B/opt/local/var/db/dports/build/_opt_local_var_dports-dev_palm_prc-tools/work/prc-tools-2.3/arm-palmos/minitooldir/bin/ -B/opt/local/var/db/dports/build/_opt_local_var_dports-dev_palm_prc-tools/work/prc-tools-2.3/arm-palmos/minitooldir/lib/ -isystem /opt/local/var/db/dports/build/_opt_local_var_dports-dev_palm_prc-tools/work/prc-tools-2.3/arm-palmos/minitooldir/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../.././gcc/gcc -I../../.././gcc/gcc/. -I../../.././gcc/gcc/config -I../../.././gcc/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss \
-c ../../.././gcc/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from ../../../gcc/gcc/crtstuff.c:62: ../../../gcc/gcc/tsystem.h:72:19: stdio.h: No such file or directory ../../../gcc/gcc/tsystem.h:75:23: sys/types.h: No such file or directory ../../../gcc/gcc/tsystem.h:78:19: errno.h: No such file or directory ../../../gcc/gcc/tsystem.h:89:20: stdlib.h: No such file or directory ../../../gcc/gcc/tsystem.h:90:20: unistd.h: No such file or directory make[5]: * [crtbegin.o] Error 1 make[4]: * [crtbegin.o] Error 2 make[3]: * [stmp-multilib] Error 2 make[2]: * [all-gcc] Error 2 make[1]: * [real-gcc] Error 2 make: * [arm-palmos] Error 2
In addition, I had to disable the documentation building because the configure scripts reported that my texi2html was not a new enough version...
Changed 7 years ago by cssdev@…
- Attachment Portfile.3 added
Portfile uses gcc-3.3 during build phase
comment:5 Changed 7 years ago by cssdev@…
- Cc jeffcorbets@… added
I reproduced your error and did some digging to find that it's already been discussed:
http://sourceforge.net/mailarchive/forum.php?thread_id=4787995&forum_id=4441 http://sourceforge.net/mailarchive/message.php?msg_id=6954777
The solution appears to be simply removing the --with-headers from the configuration line. I'll update the Portfile accordingly and see if that gets the build any further along.
Changed 7 years ago by cssdev@…
- Attachment Portfile.4 added
Portfile without nls, with destroot cleanup
comment:7 Changed 7 years ago by markd@…
- Cc markd@… added
Umm ... Ok, so there's an open bug. But where is the port? Has this port been deleted?


Portfile for prc-tools-2.3