delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Message-ID: | <41866a9b$0$174$cc7c7865@news.luth.se> |
From: | Martin Str|mberg <ams AT speedy DOT ludd DOT ltu DOT se> |
Subject: | Re: Compiling C code files for Linux |
Newsgroups: | comp.os.msdos.djgpp |
References: | <d2ad330a DOT 0410130244 DOT 42843d27 AT posting DOT google DOT com> <007501c4b90a$d79cb740$84236652 AT rui> <4184cc86$0$177$cc7c7865 AT news DOT luth DOT se> <018101c4c010$973b4470$84236652 AT rui> |
User-Agent: | tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) |
Date: | 01 Nov 2004 16:55:55 GMT |
Lines: | 26 |
NNTP-Posting-Host: | speedy.ludd.ltu.se |
X-Trace: | 1099328155 news.luth.se 174 130.240.16.13 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
cosmos <cosmos AT tvtel DOT pt> wrote: > I'm downloading Knoppix at this instant. But I review the documentation and > the forum, and I can't seem to have a stright answer to "is Knoppix a cross > compiler" or does it allows the output to be ready for Linux. > Are you sure that your suggestion will work? As Knoppix _is_ Linux, you won't need a _cross_-compiler. The ordinary one will suffice. I am sure that you will be able to run your program using the same cd that you used to compile it. You want to link statically if you intend to run this on different versions of Linux. (But then I've read on Usenet that thusly compiled executables can crash. Apparently there's something weird going on if you use this statically linked executable in combination with certain (or all other?!!) libcs or kernels. Try and see; both dynamic and static linking. Or even a combination.) Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |