Home
C++ - general discussion about the programming language c++
c++@conference.jabber.org
Saturday, September 8, 2007< ^ >
TobiasFar has set the subject to: C++ related discussions - please bookmark (auto join) this room and stay some time and write something
Room Configuration

GMT-5
[01:52:06] Vest joins the room
[01:55:17] Vest leaves the room
[04:45:01] ceremcem joins the room
[05:22:49] Vest joins the room
[05:27:06] <ceremcem> hi vest
[05:27:36] <Vest> Salom, Cerem :) (am I right?)
[05:28:40] <ceremcem> (actually it's "selam" if you mean "hello")
[05:28:48] <Vest> Yes :)
[05:29:30] <ceremcem> I asked about cross compiling here, had you known that?
[05:29:50] <Vest> Can you describe your full problem, or question?
[05:29:56] <Vest> I have some info about it
[05:30:47] <ceremcem> I asked "Can I compile my code for Windows under Linux via Wine emulator?"
[05:31:47] <ceremcem> they said "if you want to make cross compiling, you should install a virtual machine under linux, that way you can make this"
[05:32:03] <ceremcem> today I did it, compiled a "Hello World"
[05:32:04] <ceremcem> :)
[05:37:20] <Vest> And?
[05:37:33] <Vest> Hello world is a console application
[05:37:48] <Vest> And it compiles almost everywhere
[05:38:20] <ceremcem> but I compiled it under Linux
[05:38:43] <ceremcem> I compiled a Win32 executable under Linux
[05:38:48] <Vest> But you have installed vmWare.
[05:39:05] <ceremcem> yes, similar to that: VirtualBox
[05:39:13] <Vest> I thought you used a gcc with windows libs
[05:39:18] <ceremcem> yes
[05:39:42] <ceremcem> I used CodeBlocks for windows and MinGW
[05:43:20] <Vest> No, I talked about not gcc.exe, but just gcc :)
[05:43:28] <Vest> By the way, why do you need this?
[05:44:14] <ceremcem> MinGW has gcc.exe and other stuff
[05:44:39] <ceremcem> if you remember, I made a project 3 months ago
[05:44:43] <Vest> I think we don't understand each other :)
[05:44:50] <Vest> Yes, I remember
[05:45:28] <ceremcem> my teacher was using Windows, but I was (and am) using Linux, so my executables can't run on his machine
[05:45:57] <ceremcem> that's why I needed to find a Windows machine and re-compiled my program under it
[05:46:05] <Vest> Just give to him your sources :)
[05:46:09] <Vest> Or objs
[05:46:38] <ceremcem> could object files be used for cross compiling?
[05:46:57] <Vest> Hm... I'm thinking...
[05:47:16] <ceremcem> (hi doesn't know c++, so it has not meaning to give him the source codes)
[05:47:24] <ceremcem> *he doesn't*
[05:48:14] <Vest> Sorry I don't know :( if they contain libs (that are for linux only), then not. But if they only have your *.c?? сompiled lists, I think yes
[05:51:21] waqas joins the room
[05:53:47] <ceremcem> whatevet Vest, we can compile Win32 under Linux, that's it, right?
[05:55:37] <Vest> And yes and not :) I think, even though you compiled Win32 binary under Linux, you used virtual machine. In other words, you used other Windows machine.
[05:56:35] <Vest> But I don't know how can I use linux compilier with windows libraries
[05:56:54] <Vest> Maybe I have to add lib (windows) directory to makefile?
[05:57:14] <Vest> And use Win32 as a target in gcc program
[05:57:17] <waqas> gcc can compile for many platforms if you have the appropriate object files for the libraries used
[05:57:39] <Vest> Thanks, waqas
[05:57:48] <waqas> (i mean without using virtualbox)
[05:57:51] <Vest> I didn't do this
[05:58:25] <Vest> So I can just make a assumption
[06:01:14] <ceremcem> do we have an option while compiling Win32 binaries under Linux except from using a virtual machine???
[06:01:30] <ceremcem> I didn't know that...
[06:01:50] <waqas> the option yes, but i never tried that myself
[06:02:04] <ceremcem> hmm...
[06:02:21] <Vest> What is it's name? --target? Or --target-platform?
[06:03:19] <ceremcem> (I just wanted to use a virtual Windows machine for some other reasons such as testing my web page in ie - there is no option to do that under linux - and some CAD programs like SketchUp)
[06:03:37] <waqas> i think those select the processor architecture. what needs to be done for compiling windows executables is to have the object library files from the windows version of gcc, and compile against them instead of the linux libraries
[06:03:51] <waqas> VMs are cool
[06:06:50] <Vest> Cerem, did you end your education?
[06:30:22] MattJ joins the room
[07:17:04] <ceremcem> something like that... there is 2 exams to be graduated, in 3 months it will end I guess
[07:24:20] <Vest> Cerem, and what will teacher do with your project? Will it be published somewhere?
[07:26:28] ceremcem leaves the room
[07:40:27] <MattJ> ceremcem: http://www.tatanka.com.br/ies4linux/page/Main_Page
[08:10:32] Vest leaves the room
[09:59:53] ceremcem joins the room
[10:30:06] <ceremcem> Vest: I don't think so, he won't publish it...
[10:34:02] <ceremcem> Mattj: Thanks :) if I knew, I would begin to use it long time ago
[10:34:07] ceremcem leaves the room
[14:19:12] Vest joins the room
[14:32:03] Vest leaves the room
[17:23:37] waqas leaves the room: Replaced by new connection
[17:51:04] durão joins the room
[17:52:20] durão leaves the room
[17:53:43] durão joins the room
[17:53:51] durão leaves the room
[22:00:45] waqas joins the room
[22:20:29] waqas leaves the room: Replaced by new connection
[22:20:41] waqas joins the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!