Thread View: borland.public.delphi.language.objectpascal
1 messages
1 total messages
Started by Maurizio Ferreira
Mon, 04 Apr 2005 13:54
Can I link gcc generated object code ?
Author: Maurizio Ferreira
Date: Mon, 04 Apr 2005 13:54
Date: Mon, 04 Apr 2005 13:54
22 lines
1352 bytes
1352 bytes
I'd like to add a gcc generated object code to a Delphi project .
I tried the following example:
in a test.c file :
extern __stdcall int proc (int n)
{
return n+n;
}
I compile this file with
gcc -c test.c -o test.o
then I try to import it in a Delphi project
but the compiler complains about file format :
{$L 'test.o' }
Bad object file format.
Any suggestion ?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads