| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Emx 0.9a |
Hello George Replying to a message of George De Bruin to All: GDB> I have just installed EMX/GCC 0.9a on my system from the December '95 GDB> First question: When I installed EMX/GCC, I opted not to install the GDB> GPP or Objective C portions. Should I have installed them even GDB> though I am not going to be using C++ or Objective C in my code? I didn't install them. GDB> I've decided for my first task to take a set of code written for BC++ GDB> and convert it to compile under EMX/GCC. This is the first task, GDB> and should be fairly simple (I'm only getting about 60 lines of GDB> warnings / errors right now, and most of them seem to have 2 or 3 GDB> common elements). I did this as well. GDB> Once I have it compiling (and running) successfully, the next task is GDB> to re-write/clean up the code. This should give me the chance to GDB> investiage the EMX/GCC libraries, and facilities in a more complete GDB> manner. Yep. GDB> After this, I throw out the code, and start on my own project from GDB> scratch. (whee!) I've started to look at threads. GDB> Question: how do I get GCC to allow re-directing the error output to GDB> a file? I thought that the -e would do it, but when I tried it, I GDB> ended up with a 0 byte file on my disk, and the error output on the GDB> screen. I don't know. GDB> Question: what is the ffblk struct in BC++? Is there an equivalent GDB> struct in GCC/EMX? (This one seems to be what is causing about half GDB> of the problems in compiling this code....) In Turbo C, its in the DIR.H file. If this is for findfirst(), I found that I could use access(). This could be used in Turbo as well. The dos programs I converted now compile under Turbo C and EMX/GCC with a few strategically placed #ifdef __TURBOC__ and #ifdef __EMX__ GDB> Question: What is _setcursortype() function in BC++? Is there an GDB> equivalent function in GCC/EMX? Look at v_ctype(). I seem to remember that if you use v_gotoxy(), printf() doesn't know about the cursor position - you have to use v_printf() Alan --- FleetStreet 1.14 NR* Origin: Alan's Point on Donor/2 (alanc{at}donor2.demon.co.uk) (2:440/4.6) SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809 @PATH: 440/4 141/209 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.