delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/03/11/18:45:32

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Sun, 11 Mar 2007 18:37:58 -0500
From: "Jeff Marshall" <coder AT execulink DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP and FreeBASIC
Date: Sun, 11 Mar 2007 18:33:48 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <wcadneOqhpNLD2nYnZ2dnUVZ_sWdnZ2d@golden.net>
Lines: 58
NNTP-Posting-Host: 67.158.73.134
X-Trace: sv3-dTNrHupqxw0Qp3vJgXqC1y6eFgIFF2Fnk6wLgAyJf/3FQ08NIG3Ro9sxWKxocrIN10wlS+yWbLx26Rx!PXTwcCXQUYSk3vB1s4eG5RxRX8bHSS5q3pOzhpIEn3VwzO99Qh8sHa6yfyyJmO6X/pJjL6ePauLr!/jfUQVrf38ySVbFFqoPEnK0=
X-Complaints-To: abuse AT golden DOT net
X-DMCA-Complaints-To: abuse AT golden DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.34
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi, this is Jeff Marshall, one of the developers for FreeBASIC - a 32-bit
GPL multiplatform basic compiler.  See: http://www.freebasic.net or
http://sourceforge.net/projects/fbc if interested.

We have a full port of FreeBASIC to DOS using the DJGPP development system.
i.e. FreeBASIC and the run time library can be compiled from sources in DOS,
run in DOS, and makes programs for DOS.  (Same for linux and mingw)

I have read the FAQ about uploading contributions, but I have a few
questions:

1) Bug fix for djdev204.  Linker script and startup code seem to handle
global constructors order incorrectly.  We are using patched versions of
_main.c and a custom linker script. Files can be found here:
http://fbc.cvs.sourceforge.net/fbc/FreeBASIC/src/contrib/djgpp/crt0/
We think this is correct.  Could someone check this and commit it to CVS?

2) gcc 3.4.4.  I had no problems compiling djdev204 using gcc 3.4.4.  Any
plans to make djdev buildable with gcc 4.x?  We plan to ( one day ) use gcc
as a backend to FreeBASIC.  Updating the djdev sources is the kind of thing
one of us would have to do one day anyway and it would be great to hear if
someone has this "in the works" but we would also be willing to help forward
djdev in this direction if given the opportunity.

3) Binutls-2.17.  FreeBASIC makes use of lib BFD to attach information to
libraries so it is possible to know library dependencies and other special
options at link time without the user having to explicitly set (or know) the
required options.  I have built this package using djdev204 but I have no
idea how to actually create a **correct** bnu217?.zip.  Aside from the FAQ,
is there anyone that can help me with this?  Ideally we would like to see
this as part of the DJGPP distribution, but I guess we could host our own
version of the download.  Comments?

4) gdb-6.?.  Same idea as binutils.  I have been able to compile gdb-6.5
with minimal changes.  Anyone know for sure what the best match is between
binutils-2.17 and any version of gdb?

5) Is this page still valid:
http://www.delorie.com/howto/djgpp/djgpp-upload.html ?  I understand the
instructions for uploading the package, but what is the best way to
determine what is supposed to be in the package in the first place?  e.g. I
have built a gnu package from sources, and it seems to work.  What is the
very next step after that?

I realize that 2 of these questions are gnu software related, but I have to
start somewhere.  The number of tool dependencies in the FreeBASIC project
is crazy.  Multiply-so since dos, linux, win32 are all full ports of the
project (and some cross compilation is also supported).  But some of our
users are very attached ( fanatical even ) about using msdos, FreeDOS, or
whatever, so we plan to continue support for it in future if possible.

I can understand that it is no small task to keep current with hundreds of
packages, but we do rely on DJGPP and would be willing to help keep parts of
it current where possible.  Also, if I have a completely wrong understanding
about how DJGPP or any of the GNU tools are supposed to work together, it
would be great to be told about that too.  Thanks.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019