[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] address@hidden not defined -- help!

From: Ben Sprinkle
Subject: [Tinycc-devel] address@hidden not defined -- help!
Date: Sun, 15 May 2011 11:47:57 -0400

Hello, I am trying to compile a simple little dll that doesn't do
anything at the moment, I do not wish to link against the crt for this
particular project. My code consists of this:

int __dllstart(void *base, unsigned long reason, void *reserved)
        return 1;

When attempting to compile with:

tcc -Wall -shared -nostdlib prog.c

It's giving me a address@hidden not defined error, If I attempt to do
the non-dll way of things using _start, it works fine. I have also
tried naming it _dllstart and ___dllstart. I am pretty new to tcc, any
help would be much appreciated!

Thanks in advance.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]