 |
|
 |
|
Next: YAVP: Hill Dwarf Fighter, 13 different runes
|
| Author |
Message |
External

Since: Jun 26, 2006 Posts: 184
|
(Msg. 16) Posted: Wed Jan 02, 2008 1:58 pm
Post subject: Re: cross compiling nethack [Login to view extended thread Info.] Archived from groups: rec>games>roguelike>nethack (more info?)
|
|
|
"sjdevnull@yahoo.com" <sjdevnull.RemoveThis@yahoo.com> wrote in
news:90713e0e-a4e4-4725-92d2-e7f0f320448d@n20g2000hsh.googlegroups.com:
> On Jan 1, 4:32 pm, chuckcar <ch....RemoveThis@nil.car> wrote:
>> >> it says right in the "readmes" if you're cross-compiling to check
>> >> the CXX variable full stop.
>>
>> > What readmes? CXX is not mentioned in any of the nethack source
>> > readmes, except for the Qt-specific win/Qt/Install.Qt
>>
>> Ok, my memory fade:
>>
>> in Makefile.src in /sys/unix:
>>
>> #
>> # For cross-compiling, eg. with gcc on Linux (see also CXX
>> further down): # CC = arm-linux-gcc
>> #
>> #
>> and as is says:
>>
>> # The Qt and Be window systems are written in C++, while the rest of
>> # NetHack is standard C. If using Qt, uncomment the LINK line here
>> to get # the C++ libraries linked in.
>> CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include
>> CXX=g++
>> #LINK=g++
>> # For cross-compiling, eg. with gcc on Linux (see also CC
>> further up): #CXX=arm-linux-g++
>> #LINK=arm-linux-gcc
>>
>> Note: two *different* lines. I seem to remember reading somewhere
>> that the crosscompiler is part of the c++ compiler not gcc itself.
>> Note there is no reference to QT there at all.
>
> I'm just saying, CXX doesn't affect non-Qt builds (except on Beos).
Ah, did *you* write the makefiles? My guess is no, so you do not know that.
Certainly I doubt whether you have successfully compiled the arm version of
nethack even. And those two things are what matters here: The Makefile
*says* to uncomment those lines if you are doing a cross-compile to arm
so you do it, period. Argue with the dev team if you like, but that's
what it says.
> There's no harm in having it, hence it being set unconditionally by
> the Makefile (unlike LINK, which would break non-C++ builds on
> machines that don't have the C++ libs installed), but it's completely
> ignored unless you try to invoke a C++ compiler--which nethack's build
> process doesn't do unless you're building Qt (or Beos).
>
Oh come on, I show you the *exact* lines from the src Makefile where and
why it says you *have* to specify the arm paramater along with
absolutely no references for the QT library and you *still* say it's
nonsence?? Or are you going to *now* say that only under BEOS does the
arm version of nethack work?
--
(setq (chuck nil) car(chuck) ) >> Stay informed about: cross compiling nethack |
|
| Back to top |
|
 |  |
External

Since: Aug 24, 2005 Posts: 275
|
(Msg. 17) Posted: Wed Jan 02, 2008 9:52 pm
Post subject: Re: cross compiling nethack [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Jan 3, 12:15 am, chuckcar <ch....RemoveThis@nil.car> wrote:
> "sjdevn...@yahoo.com" <sjdevn....RemoveThis@yahoo.com> wrote innews:c139abea-5ce0-495a-abd7-0db20897d83b@i3g2000hsf.googlegroups.com:
>
> > On Jan 2, 7:58 am, chuckcar <ch....RemoveThis@nil.car> wrote:
> >> "sjdevn...@yahoo.com" <sjdevn....RemoveThis@yahoo.com> wrote
> >> innews:90713e0e-a4e4-4725-92d2-e7f0f320448d@n20g2000hsh.googlegroups.c
> >> om:
> > Yes, and I was just trying to explain that they're misleading. But if
> > it makes you feel happy go ahead and set it. There's no harm in doing
> > so.
>
> I'll tell you what the harm is: telling some OP that probably couldn't
> figure this out for himself that anything but what other have already
> suggested and hasn't worked isn't going to. For crips sake, I'm the only
> person suggesting a possible fix here. If you can *show* what I'm saying
> *isn't* going to work, fine state that, but if you just want to voice an
> inconsequential opinion, well, as a Mark Twain like humorist from my
> country says, you have nothing to say.
Geeze, I was trying to point out that just changing CXX wasn't going
to help out so the OP wouldn't waste time. If you want to try it
that's cool too, though, no skin off my back. I'm not sure where your
persecution complex came from, nor your need to repeatedly attack
people who are just offering useful input, but have fun with it. >> Stay informed about: cross compiling nethack |
|
| Back to top |
|
 |  |
External

Since: Jun 26, 2006 Posts: 184
|
(Msg. 18) Posted: Thu Jan 03, 2008 6:15 am
Post subject: Re: cross compiling nethack [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"sjdevnull@yahoo.com" <sjdevnull.DeleteThis@yahoo.com> wrote in
news:c139abea-5ce0-495a-abd7-0db20897d83b@i3g2000hsf.googlegroups.com:
> On Jan 2, 7:58 am, chuckcar <ch....DeleteThis@nil.car> wrote:
>> "sjdevn...@yahoo.com" <sjdevn....DeleteThis@yahoo.com> wrote
>> innews:90713e0e-a4e4-4725-92d2-e7f0f320448d@n20g2000hsh.googlegroups.c
>> om:
> Yes, and I was just trying to explain that they're misleading. But if
> it makes you feel happy go ahead and set it. There's no harm in doing
> so.
>
I'll tell you what the harm is: telling some OP that probably couldn't
figure this out for himself that anything but what other have already
suggested and hasn't worked isn't going to. For crips sake, I'm the only
person suggesting a possible fix here. If you can *show* what I'm saying
*isn't* going to work, fine state that, but if you just want to voice an
inconsequential opinion, well, as a Mark Twain like humorist from my
country says, you have nothing to say.
--
(setq (chuck nil) car(chuck) ) >> Stay informed about: cross compiling nethack |
|
| Back to top |
|
 |  |
External

Since: Aug 24, 2005 Posts: 275
|
(Msg. 19) Posted: Thu Jan 03, 2008 2:40 pm
Post subject: Re: cross compiling nethack [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Jan 3, 4:17 pm, chuckcar <ch....RemoveThis@nil.car> wrote:
> "sjdevn...@yahoo.com" <sjdevn....RemoveThis@yahoo.com> wrote innews:991a394d-00ba-4d44-bdb6-459eca3eef34@n20g2000hsh.googlegroups.com:
>
>
>
> > On Jan 3, 12:15 am, chuckcar <ch....RemoveThis@nil.car> wrote:
> >> "sjdevn...@yahoo.com" <sjdevn....RemoveThis@yahoo.com> wrote
> >> innews:c139abea-5ce0-495a-abd7-0db20897d83b@i3g2000hsf.googlegroups.co
> >> m:
>
> >> > On Jan 2, 7:58 am, chuckcar <ch....RemoveThis@nil.car> wrote:
> >> >> "sjdevn...@yahoo.com" <sjdevn....RemoveThis@yahoo.com> wrote
> >> >> innews:90713e0e-a4e4-4725-92d2-e7f0f320448d@n20g2000hsh.googlegroup
> >> >> s.c om:
> >> > Yes, and I was just trying to explain that they're misleading. But
> >> > if it makes you feel happy go ahead and set it. There's no harm in
> >> > doing so.
>
> >> I'll tell you what the harm is: telling some OP that probably
> >> couldn't figure this out for himself that anything but what other
> >> have already suggested and hasn't worked isn't going to. For crips
> >> sake, I'm the only person suggesting a possible fix here. If you can
> >> *show* what I'm saying *isn't* going to work, fine state that, but if
> >> you just want to voice an inconsequential opinion, well, as a Mark
> >> Twain like humorist from my country says, you have nothing to say.
>
> > Geeze, I was trying to point out that just changing CXX wasn't going
> > to help out so the OP wouldn't waste time. If you want to try it
> > that's cool too, though, no skin off my back.
>
> I'm not the one trying it. Hell I don't even *have* an arm computer. Oh
> and BTW it's *cross-compiling* not compiling on an arm.
Yes, hence my saying things like "(irrelevant to cross-compiling
Linux/ARM)", and "There are separate C and C++ (and other front-ends)
cross-compilers for gcc."
Certainly the H3600s I've built it for were too small to install the
full gcc toolchain on and still have room for much else (and I didn't
want to futz with NFS mounts over a serial cable), so I did Linux/x86 -
>Linux/ARM cross-compiles using the prebuilt cross-compiler toolchains
from http://handhelds.org/moin/moin.cgi/BuildCrossToolchainHowto (but
it was a couple years ago so probably earlier versions than what's
there now).
> > I'm not sure where your
> > persecution complex came from, nor your need to repeatedly attack
> > people who are just offering useful input, but have fun with it.
>
> No persecution perceived, it's just that there's no point in clouding
> the issue if you have nothing new to contribute, which none of your
> posts in this thread have.
You made a suggestion that (unbeknownst to you) would just be more
work for the OP without resolving the issue--that's not a criticism of
you. From reading through the Makefile comment it'd be a reasonable
thing to suggest, and without either knowing the Makefiles very well
or trying it out there's no way to know that it won't help.
I was just trying to save him some time with some advice from someone
who's "been there done that". That you don't find that to be a useful
contribution doesn't mean that others don't; some people learn better
from hearing other's experiences than others. >> Stay informed about: cross compiling nethack |
|
| Back to top |
|
 |  |
External

Since: Jun 26, 2006 Posts: 184
|
(Msg. 20) Posted: Thu Jan 03, 2008 6:26 pm
Post subject: Re: cross compiling nethack [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"sjdevnull@yahoo.com" <sjdevnull.TakeThisOut@yahoo.com> wrote in
news:991a394d-00ba-4d44-bdb6-459eca3eef34@n20g2000hsh.googlegroups.com:
> On Jan 3, 12:15 am, chuckcar <ch....TakeThisOut@nil.car> wrote:
>> "sjdevn...@yahoo.com" <sjdevn....TakeThisOut@yahoo.com> wrote
>> innews:c139abea-5ce0-495a-abd7-0db20897d83b@i3g2000hsf.googlegroups.co
>> m:
>>
>> > On Jan 2, 7:58 am, chuckcar <ch....TakeThisOut@nil.car> wrote:
>> >> "sjdevn...@yahoo.com" <sjdevn....TakeThisOut@yahoo.com> wrote
>> >> innews:90713e0e-a4e4-4725-92d2-e7f0f320448d@n20g2000hsh.googlegroup
>> >> s.c om:
>> > Yes, and I was just trying to explain that they're misleading. But
>> > if it makes you feel happy go ahead and set it. There's no harm in
>> > doing so.
>>
>> I'll tell you what the harm is: telling some OP that probably
>> couldn't figure this out for himself that anything but what other
>> have already suggested and hasn't worked isn't going to. For crips
>> sake, I'm the only person suggesting a possible fix here. If you can
>> *show* what I'm saying *isn't* going to work, fine state that, but if
>> you just want to voice an inconsequential opinion, well, as a Mark
>> Twain like humorist from my country says, you have nothing to say.
>
> Geeze, I was trying to point out that just changing CXX wasn't going
> to help out so the OP wouldn't waste time. If you want to try it
> that's cool too, though, no skin off my back.
I'm not the one trying it. Hell I don't even *have* an arm computer. Oh
and BTW it's *cross-compiling* not compiling on an arm.
> I'm not sure where your
> persecution complex came from, nor your need to repeatedly attack
> people who are just offering useful input, but have fun with it.
>
No persecution perceived, it's just that there's no point in clouding
the issue if you have nothing new to contribute, which none of your
posts in this thread have. Hence my last comment.
--
(setq (chuck nil) car(chuck) ) >> Stay informed about: cross compiling nethack |
|
| Back to top |
|
 |  |
| Related Topics: | Compiling NH and S on Mac OS X 10.4 - I recently returned to NH after a couple year hiatus, and in the interim I had switched from my usual Solaris and Linux boxen to using Mac OS X on my laptop. I was dismayed to find that precompiled NH binaries assumed the Mac user's preference for a..
QT nethack - how do i view my turn count in QT nethack?
Nethack for cygwin - Does anyone have it compiled for cygwin? If so can you provide a link or email it to me? -- ..\\itch Johnston - Bearded Dragon
Anyone here play NetHack on a PSP yet? - Hello NetHack lovers. I was just wondering if anyone here has used the PC emulator for PSP (Play Station Portable) to play nethack yet?
Anyone running NetHack on PSP? - Folks, Can anyone tell me if I will be able to run the NetHack port on a new PSP (before I part with my cash)? From what I have been reading, it only worked with older firmware revisions and as I am looking to buy new, it'll probably not be old.. |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|