--Try recompiling as ELF? (I know nothing about c++ but the kernels I build only support a.out as module, not compiled into kernel.)
Originally Posted by estranged
I really want to stop using suse and make knoppix my main distro but i really need to make this work in order to do it.
It has to do with c++ and executing source code.
I type ./a.out and the shell just sits there. It doesnt hang it just sits there looking pretty.
I run the program with the ddd option and executed it from ddd...execution window comes up and nothing shows up.
I used anjuta same thing. No compiler errors no warnings but it wont execute.
Checked the permisions (chnod755) of the file and its execute..tried with no execute from desperation,....same crap.
And yeah i got make.
As I said, during compile, NO ERRORS and NO WARNINGS. I demoted my self to a simple hello world program just to keep things simple.
Code:#include <iostream> using std::cout; using std::endl; using std::cin; int main () { int x; cin >>x; cout<< x<<endl; return 0; }
--Try recompiling as ELF? (I know nothing about c++ but the kernels I build only support a.out as module, not compiled into kernel.)
Originally Posted by estranged
ELF?
I am kinda lost
--Not as lost as I am...
' man g++ '
' /ELF ' (search for ELF)
-melf
Generate an executable in the ELF format, rather than the default mmo format used by the mmix simulator.
--It's a compiler flag that you can pass on the cmd line. But looking back in the man page, it's prolly not applicable for this instance. (shrug) Sorry.
Originally Posted by estranged
YAAAAAY..i fixed it.
It seems that when outputing gcc need the gnome-terminal and I didnt have it installed.
Now it works all nice and good.....one thing though i cant make the text show,,its there (i copied and pasted it to an editor) but even if i change the setting on the terminal the text is white
thanks though for answering my question i learned something new ELF :P![]()
--that's very strange... You should be able to run the compiler AND the program from rxvt, xterm, or *text mode* for that matter without anything depending on gnome-terminal. But hey, as long as it works.
Originally Posted by estranged
i know![]()
I added alot of packages from apt-get.org.
Maybe something changed there...a path or something like that.![]()

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$49.99
867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99