flat assembler
Message board for the users of flat assembler.
Index
> Linux > linking linux object under win32 |
Author |
|
vid 24 May 2007, 18:42
is there any way to link linux ELF object(s) to linux ELF executable under windows?
mingw produces win32 executable PS: no cygwin please |
|||
24 May 2007, 18:42 |
|
KRA 24 May 2007, 18:56
I would suggest andLinux.
It's an Ubuntu edgy distro that runns paralell with windows.. You would run native linux programs and can even do apt-get Read the documents and then you can share your directories between the two platforms using one single source base. check this link: http://wiki.gp2x.org/wiki/AndLinux This is what I use when developping cross platform... Good luck... |
|||
24 May 2007, 18:56 |
|
vid 24 May 2007, 19:03
that is very interesting, unfortunatelly i need some "quick solution".
i don't have time to install & learn new environment |
|||
24 May 2007, 19:03 |
|
vid 24 May 2007, 19:57
japheth: can you give me some hints on how to link elf-386 binaries from command line?
|
|||
24 May 2007, 19:57 |
|
Japheth 25 May 2007, 07:36
> japheth: can you give me some hints on how to link elf-386 binaries from command line?
No, sorry! I wasn't aware of the "supported emulations: i386pe" line the MinGW LD is displaying (and also the various other LD variants used on Win32). This means these LDs cannot be used to create ELF, even if you feed them with a full ELF-compatible linker script file. |
|||
25 May 2007, 07:36 |
|
Japheth 25 May 2007, 14:14
attached is a win32 LD which creates ELF. I forgot where I did get it from, but this should be not that hard to find out.
|
|||||||||||
25 May 2007, 14:14 |
|
vid 26 May 2007, 09:44
thank you, i will try it
|
|||
26 May 2007, 09:44 |
|
OzzY 26 May 2007, 16:00
Run a Linux LiveCD such as Puppy which has NTFS support by default.
So, you compile the program on RAMDISK and then copy to the NTFS partition and reboot to Windows. You can also use it in some virtualization program such as Qemu. |
|||
26 May 2007, 16:00 |
|
vid 27 May 2007, 00:48
you don't understand.
i am building batch "script" that recompiles entire FASMLIB, including linux examples. Some of them produce ELF object that needs to be linked to executable. As my dev env is still windows, i need some "native" tool. I haven't tested the tool from Japheth yet, i hope i will find some time soon |
|||
27 May 2007, 00:48 |
|
Raedwulf 07 Jun 2007, 07:23
I've tried doing this before, I gave up - i have a whole set of tools to crosscompile, but you still need to copy a set of libs from a linux-os.
|
|||
07 Jun 2007, 07:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.